Target hit with the mouse in the editor.

Hierarchy

  • IMouseTarget

Index

Properties

detail

detail: any

Some extra detail.

element

element: Element | null

The target element

mouseColumn

mouseColumn: number

Desired mouse column (e.g. when position.column gets clamped to text length -- clicking after text on a line).

position

position: Position | null

The 'approximate' editor position

range

range: Range | null

The 'approximate' editor range

type

The target type