An event describing that the cursor position has changed.

Hierarchy

  • ICursorPositionChangedEvent

Index

Properties

position

position: Position

Primary cursor's position.

reason

reason: CursorChangeReason.NotSet | CursorChangeReason.ContentFlush | CursorChangeReason.RecoverFromMarkers | CursorChangeReason.Explicit | CursorChangeReason.Paste | CursorChangeReason.Undo | CursorChangeReason.Redo

Reason.

secondaryPositions

secondaryPositions: Position[]

Secondary cursors' position.

source

source: string

Source of the call that caused the event.