Interface ICursorSelectionChangedEvent

An event describing that the cursor selection has changed.

interface ICursorSelectionChangedEvent {
    modelVersionId: number;
    oldModelVersionId: number;
    oldSelections: Selection[];
    reason: CursorChangeReason;
    secondarySelections: Selection[];
    selection: Selection;
    source: string;
}

Properties

modelVersionId: number

The model version id.

oldModelVersionId: number

The model version id the that oldSelections refer to.

oldSelections: Selection[]

The old selections.

Reason.

secondarySelections: Selection[]

The secondary selections.

selection: Selection

The primary selection.

source: string

Source of the call that caused the event.