Enhancement

- Added new _ids command to support tab completion scripts.
This commit is contained in:
Paul Beckingham 2009-07-04 10:28:55 -04:00
parent 02c7d7607c
commit ca4bae558d
4 changed files with 30 additions and 0 deletions

View file

@ -109,6 +109,7 @@ void Cmd::load ()
commands.push_back ("_projects");
commands.push_back ("_tags");
commands.push_back ("_commands");
commands.push_back ("_ids");
commands.push_back (context.stringtable.get (CMD_ADD, "add"));
commands.push_back (context.stringtable.get (CMD_APPEND, "append"));
commands.push_back (context.stringtable.get (CMD_ANNOTATE, "annotate"));
@ -197,6 +198,7 @@ bool Cmd::isReadOnlyCommand ()
if (command == "_projects" ||
command == "_tags" ||
command == "_commands" ||
command == "_ids" ||
command == context.stringtable.get (CMD_CALENDAR, "calendar") ||
command == context.stringtable.get (CMD_COLORS, "colors") ||
command == context.stringtable.get (CMD_EXPORT, "export") ||