Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • UndoState

Index

Constructors

  • new UndoState(deltaManager: IDeltaManager): UndoState
  • Parameters

    • deltaManager: IDeltaManager

    Returns UndoState

Properties

containsCreateUnitTreeDeltaChange: boolean
internal
future: Change[]
internal
history: Change[]
internal
pendingChange: IDeltaChange[]
internal
runningAction: boolean
internal

Accessors

  • get canRedo(): boolean
  • Returns boolean

  • get canUndo(): boolean
  • Returns boolean

Methods

  • addAction(undoAction: () => void, redoAction: () => void): void
  • internal

    Parameters

    • undoAction: () => void
        • (): void
        • Returns void

    • redoAction: () => void
        • (): void
        • Returns void

    Returns void

  • changeCompleted(): void
  • internal

    Returns void

  • clear(): void
  • Returns void

  • redo(): void
  • Returns void

  • undo(): void
  • Returns void

Generated using TypeDoc