Enhancement - undo

- Removed obsolete undelete command.
- Removed obsolete undo command.
- Implemented new undo command as a call to the stubbed TDB::undo call.
This commit is contained in:
Paul Beckingham 2009-06-28 21:51:43 -04:00
parent dc2bac1b5e
commit af7803ea27
6 changed files with 14 additions and 112 deletions

View file

@ -200,9 +200,7 @@ std::string Context::dispatch ()
else if (cmd.command == "append") { out = handleAppend (); }
else if (cmd.command == "annotate") { out = handleAnnotate (); }
else if (cmd.command == "done") { out = handleDone (); }
else if (cmd.command == "undo") { out = handleUndo (); }
else if (cmd.command == "delete") { out = handleDelete (); }
else if (cmd.command == "undelete") { out = handleUndelete (); }
else if (cmd.command == "start") { out = handleStart (); }
else if (cmd.command == "stop") { out = handleStop (); }
else if (cmd.command == "export") { out = handleExport (); }
@ -212,6 +210,7 @@ std::string Context::dispatch ()
#ifdef FEATURE_SHELL
else if (cmd.command == "shell") { handleShell (); }
#endif
else if (cmd.command == "undo") { handleUndo (); }
else if (cmd.command == "" &&
sequence.size ()) { out = handleModify (); }