A stack of undo/redo actions.

Constructors

Accessors

  • get maxStack(): number
  • Returns number

Methods

  • Parameters

    Returns void

  • Parameters

    • notify: boolean = true

    Returns void

  • Returns readonly string[]

  • Returns string

  • Returns string

  • Returns readonly string[]

  • Returns boolean

  • Returns boolean

  • Returns void

  • Redo the last redo actions on the stack.

    Parameters

    • count: number = 1

      number of actions to undo, default is 1

    Returns void

    Remarks

    The redo stack a list of all items that have an undo. Adding another item to the undo stack

  • Sets repeatable action.

    Parameters

    Returns void

    Remarks

    A repeatable action is an action that a user can do multiple times 'usually on various selections'. For example styling a field adding a similar operation to the undo stack is usually expected and has to be done done separately by the caller. This will clear the redo stack and does NOT add this operation to the undo stack.

  • Undo the last actions on the stack.

    Parameters

    • count: number = 1

      number of actions to undo, default is 1

    Returns void