Determines whether undo/redo is allowed.
true
Determines whether the next actions are recorded in the task manager.
true
Returns/sets the number of undo commands that can be performed. UndoLimit limits the size of the Undo buffer. Therefore, you can use this property to save memory. Setting UndoLimit to zero means that the size of the Undo buffer is unlimited.
0
Start a group of actions that can be undone in one time. 'code' allows identifying a group of action. It is returned by the undoCode and redoCode properties. For instance, if, in your application, the user can open a dialog box allowing to change the image of the node, its color and its Text property, you will probably allow that user to undo these 3 basic actions in one time. To do that, add a call to beginAction before invoking the dialog box and a call to endAction just after the dialog box termination.
Submit a task (or action) that can be undone and redone. 'task' is a task to include in the undo list
Generated using TypeDoc
Represents a TaskManager object.