The CodeWarrior editor offers several ways to undo mistakes as you edit a file.
The Undo command reverses the effect of your last action. The name of the Undo command on the Edit Menu varies, depending on your last action. For example, if you just typed some text, the name of the command changes to Undo Typing. Choose this command to remove the text you just typed.
When you enable the Use multiple undo option, you can undo or redo several previous actions.
For instance, if you Cut a word, then Paste it, then type some text, you can backtrack through all of those actions by choosing the Undo command three times. The first Undo removes the text you typed, the second Undo unpastes the text you pasted, and the third Undo uncuts the text you cut, therefore returning the text to its original condition. You can perform the three original activities again in the same order by choosing the Redo command three times.
To enable the Use multiple undo option, refer to "Use multiple undo."
Note that the keyboard shortcut for the Redo command changes when the Use multiple undo option is disabled.
WARNING!
ABCDE), and you redo two of them, the stack appears to the pointer like this: ABC. When you perform a new action (ABCF), the undo events (DE) are no longer available.
The Revert command in the File menu returns a file to its last saved version. To learn more about reverting to the previous version of a file, see "Reverting to a Previously-Saved File."