Trevixal API
    Preparing search index...

    Class History

    Undo manager built on step inversion. Groups adjacent-in-time transactions and restores the selection from before each group.

    Index
    • get canRedo(): boolean

      Returns boolean

    • get canUndo(): boolean

      Returns boolean

    • get redoEntries(): readonly HistoryEntry[]

      Redo groups; the last entry is what redo reapplies next.

      Returns readonly HistoryEntry[]

    • get undoEntries(): readonly HistoryEntry[]

      Undo groups, oldest first: the last entry is what undo reverts next.

      Returns readonly HistoryEntry[]

    • Returns void

    • Record a dispatched document-changing transaction.

      Parameters

      Returns void