Interface ICursorStateComputerData

A helper for computing cursor state after a command.

interface ICursorStateComputerData {
    getInverseEditOperations(): IValidEditOperation[];
    getTrackedSelection(id): Selection;
}

Methods

  • Get a previously tracked selection.

    Parameters

    • id: string

      The unique identifier returned by trackSelection.

    Returns Selection

    The selection.