Undo – cancels the last command that changed the item.
X
This command is useful if only the most recently entered command in an editing session is erroneous.
This command must be used before an F (Flip) or FS (File Save) command is issued.
When X is executed once immediately after a multiline replace (R command), just the last line changed is restored to its state before the R command was executed. If X is executed a second time, all of the lines changed by the R command are restored to their states before it was executed.
Note: To cancel all changes since the last F or FS command, use the XF command.
When the effect of the update command has been cancelled,
the message L
n
is displayed, where n
is the number of the line on which the update was undone.
:ED MD TEST1 |
Display contents of item TEST1 in the MD file. Delete line 001 of the item. Replace Street with Boulevard. Insert the following lines. Undo the last of the above edits. Editor indicates line in which an edit was not saved. Last edit performed was not filed. Note that the old line 1 was deleted and that Street was changed to Boulevard in what is now line 2. |