Interface IMouseTargetOutsideEditor

interface IMouseTargetOutsideEditor {
    element: HTMLElement;
    mouseColumn: number;
    outsideDistance: number;
    outsidePosition: "right" | "left" | "above" | "below";
    position: Position;
    range: Range;
    type: OUTSIDE_EDITOR;
}

Hierarchy (view full)

Properties

element: HTMLElement

The target element

mouseColumn: number

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

outsideDistance: number
outsidePosition: "right" | "left" | "above" | "below"
position: Position

The 'approximate' editor position

range: Range

The 'approximate' editor range