True if there is something to redo, false otherwise.
True if there is something to undo, false otherwise.
Ends all groups currently in effect. This is the same as calling endGroup repeatedly until there are no more groups to end.
Ends recording a group of undo operations. The group currently in effect is terminated, and made the last recorded operation (as if it had been passed to UndoList.record).
The group currently being recorded.
This method makes the UndoList object record the object passed to it. Any operations that had previously been undone are forgotten.
An undo object to record.
Reset the list to its initial state without undoing operations. The list effectively forgets old undo operations.
Starts recording a group of undo operations.
The undo group to start.
A string showing all the undo steps and undo groups stored in this undo list.
True if the object is in the midst of undoing or redoing, false otherwise.
Generated using TypeDoc
Records operations that may be undone or redone. It maintains a single list of Undo objects in the order by which they are passed to the UndoList.record method.
This object maintains a single history. So if operations A, B, C, D are recorded, C and D are undone and then E is recorded, the list of recorded operations will then be A, B, E.