In this task, you need to modify the behaviour of a previously added command queue.
All commands should be now executed immediately without committing. All queue commands
(commit, dismiss, print) should be removed except for queue export and queue load,
which should be renamed to just "export" and "load" and export/load all executed commands.
You should keep a history of all executed commands and implement the following:
-
history - list all executed commands
-
undo - reverts the changes made by the most recently executed command
-
redo - reapplies the changes made by the most recently undone command
As already mentioned, the program should keep a "command history" to
allow for multiple undo/redo steps.
Note that your solution should be easily extensible in terms of supporting
undo/redo operations for newly added commands.
List view
0 issues of 0 selected
There are no open issues in this milestone
Add issues to milestones to help organize your work for a particular release or project. Find and add issues with no milestones in this repo.