Interface ICursorSelectionChangedEvent

Expand description

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§

§readonly modelVersionId: number

The model version id.

§readonly oldModelVersionId: number

The model version id the that oldSelections refer to.

§readonly oldSelections: Selection[]

The old selections.

§readonly reason: CursorChangeReason

Reason.

§readonly secondarySelections: Selection[]

The secondary selections.

§readonly selection: Selection

The primary selection.

§readonly source: string

Source of the call that caused the event.