Explore the Undo/Redo – Part II
Here is the list of the types and variations of the Undo/Redo functionalty.
The Undo/Redo functionality without specifying the operation which will be performed.
The menu item offering the Undo/Redo functionality also displays the operation which will performed. This makes use of the DisplayName of the edit to be performed.
The typical notepad style supporting Undo/Redo only for the last operation performed.
Multiple Undo/Redo supports unlimited no of edits for all the opertaions performed.
5.Multiple Undo/Redo with the UI to choose the number of edits.
Its the typical MS word style. The UI(toolBar Button) shows the DisplayName of all the edits in the Undo/Redo stack providing the option to choose the multiple edits to be performed. This provides the option of performing Undo on the last N opertaion at one shot.
More sophisticated implementation would be allow the user to choose the edit which need not correspond to the last edit operation.
Operation 1- Delete a line
OPeration2- Find Replace operation performed for a particular word
What if user wants to perform Undo for operation1 but NOT for operation2?
My next post will be on the Challenges that I faced in implementing Multiple (Instructional) Undo/Redo .