Undo the last action.
Undo the last action. If you repeat this command, you can undo several previous consecutive actions. The maximum number of actions to be undone can be specified with the Undo Max Number text box on the General page of the Properties dialog box. If the Undo Character by Character check box is checked on the Edit page of the Customize dialog box, a string insert will be undone character by character.
•Default Menu: Edit > Undo
•All Commands: Edit > Undo
•Toolbar:
•Status Bar: None
•Default Keyboard Shortcut: CTRL+Z or ALT+BACKSPACE
•EEID_EDIT_UNDO (4124)
document.Undo();
document.Undo