Stack of undo/redo states
Index pointing to the undo/redo stack
Maximum number of undo/redo states
canRedo(): booleanprivate→ : boolean
canUndo(): booleanprivate→ : boolean
Set the content and selection of the math field to a value previously captured with save() or stored in the undo stack. This does not affect the undo stack.
Return an object capturing the state of the content and selection of the math field. Pass this object to restore() to reset the value of the math field to this saved value. This does not affect the undo stack.
Push a snapshot of the content and selection of the math field onto the undo stack so that it can potentially be reverted to later.