Target hit with the mouse in the editor.

Hierarchy

  • IMouseTarget

Index

Properties

detail

detail: any

Some extra detail.

element

element: Element

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

The 'approximate' editor position

range

range: Range

The 'approximate' editor range

type

type: MouseTargetType.UNKNOWN | MouseTargetType.TEXTAREA | MouseTargetType.GUTTER_GLYPH_MARGIN | MouseTargetType.GUTTER_LINE_NUMBERS | MouseTargetType.GUTTER_LINE_DECORATIONS | MouseTargetType.GUTTER_VIEW_ZONE | MouseTargetType.CONTENT_TEXT | MouseTargetType.CONTENT_EMPTY | MouseTargetType.CONTENT_VIEW_ZONE | MouseTargetType.CONTENT_WIDGET | MouseTargetType.OVERVIEW_RULER | MouseTargetType.SCROLLBAR | MouseTargetType.OVERLAY_WIDGET | MouseTargetType.OUTSIDE_EDITOR

The target type