IMcUndoStack Methods |
![]() |
The IMcUndoStack type exposes the following members.
Name | Description | |
---|---|---|
![]() | Flush | Drops all states in the Undo stack, and the Redo stack |
![]() | PopRedo | Drops the top state of the Redo stack without performing the redo |
![]() | PopUndo | Drops the top state of the Undo stack without performing the undo |
![]() ![]() | Push | Saves the state of an undoable object for a future Undo operation. |
![]() | Redo | Will save the undoable on top of the Undo stack, update the
undoable with the top of the Redo stack, and drop the top of the Redo stack. The
operation will fail if the Redo stack is empty.
This function will fire two events: AboutToRedo and RedoDone. |
![]() | Undo | Will save the undoable on top of the Redo stack, update the
undoable with the top of the Undo stack, and drop the top of the Undo stack.
This function will fire two events: AboutToUndo and UndoDone. |