Interface ICursorPositionChangedEvent

Expand description

An event describing that the cursor position has changed.

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

Properties§

§readonly position: Position

Primary cursor's position.

§readonly reason: CursorChangeReason

Reason.

§readonly secondaryPositions: Position[]

Secondary cursors' position.

§readonly source: string

Source of the call that caused the event.