Interface ICursorPositionChangedEvent

An event describing that the cursor position has changed.

interface ICursorPositionChangedEvent {
    position: Position;
    reason: CursorChangeReason;
    secondaryPositions: Position[];
    source: string;
}

Properties

position: Position

Primary cursor's position.

Reason.

secondaryPositions: Position[]

Secondary cursors' position.

source: string

Source of the call that caused the event.