Macro Language Reference > Macros > Application > tundo
  
tundo
Description
Undoes your last operation. This will have different results depending on the current operating mode.
Syntax
tundo undo:n?
tundo
[no parameter]
Undo your last operation for the current operating mode
undo
0
Undo your last operation for the current operating mode
1
Go to the position of the last change without actually undoing the change
Additional Information
tundo has different results depending on the current operating mode:
Text Mode: the last text operation is undone and you can repeat tundo until the text reaches its original state, ie. when the document was opened.
Graphics Mode: only the last operation (including a tundo if that is the last action) can be undone. Also, the tundo macro has not effect at all in Graphics Mode if undo has been disabled via the Graphics Preferences dialog box.
Page Mode: only the last operation (including a tundo if that is the last action) can be undone.