Optional
rev: numberProvides a means for implementing your own undo manager. options
has one property, args
, an [[Array Array
]], with two elements:
args[0]
is an array of deltasargs[1]
is the document to associate withOptional
session: EditSession[Perform a redo operation on the document, reimplementing the last change.]{: #UndoManager.redo}
Optional
dontSelect: boolean[Perform an undo operation on the document, reverting the last change.]{: #UndoManager.undo}
Optional
dontSelect: booleanGenerated using TypeDoc
This object maintains the undo stack for an [[EditSession
EditSession
]].