Returns true if there are items in the redo stack.
Returns true if there are items in the undo stack.
Returns the number of items in the redo stack
Returns the number of items in the undo stack
Adds a step to the undo stack.
data representing a state.
Returns the last step in the undo log
Returns most recent item in the redo stack.
Replaces the last undo step with step data provided
data representing a state.
Returns data for the previous step in the undo stack and adds last step to the redo stack.
Generated using TypeDoc
Manages undo and redo stacks.