Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UndoMarker

This is an undo object which does nothing but only serves as a marker in the list of undo operations. It could be used for debugging or by modes to record information they need in the undo list.

Hierarchy

Index

Constructors

constructor

Properties

Protected _events

_events: Subject<UndoEvents> = new Subject()

desc

desc: string

events

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

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