Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SetTextNodeValueUndo

Hierarchy

  • Undo
    • SetTextNodeValueUndo

Index

Constructors

constructor

Properties

Protected _events

_events: Subject<UndoEvents> = new Subject()

desc

desc: string

events

events: Observable<UndoEvents> = this._events.asObservable()

Private nodePath

nodePath: string

Private oldValue

oldValue: string

Private treeUpdater

treeUpdater: TreeUpdater

The tree updater to use to perform undo or redo operations.

Private value

value: string

Methods

performRedo

  • performRedo(): void

performUndo

  • performUndo(): void

redo

  • redo(): void
  • Called when the operation must be redone.

    throws

    {Error} If an undo is attempted when an undo or redo is already in progress.

    Returns void

toString

  • toString(): string

undo

  • undo(): void
  • Called when the operation must be undone.

    throws

    {Error} If an undo is attempted when an undo or redo is already in progress.

    Returns void

Generated using TypeDoc