Fork me on GitHub

UndoManager

UndoManager

new UndoManager(mathlist: Array.<MathAtom>)private

mathlist Array.<MathAtom>
Source

Methods

canRedo() → booleanprivate

boolean   
Source

canUndo() → booleanprivate

boolean   
Source

redo()private

Source

snapshot()private

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.

Source

undo()private

Source