Skip to content

IMouseTargetContentText

原文链接

https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IMouseTargetContentText.html

ts
interface IMouseTargetContentText {
    detail: IMouseTargetContentTextData;
    element: HTMLElement;
    mouseColumn: number;
    position: Position;
    range: Range;
    type: CONTENT_TEXT;
}

detail

element

  • 类型: HTMLElement
  • 描述: 鼠标目标元素

mouseColumn

  • 类型: number
  • 描述: 鼠标列

position

  • 类型: Position
  • 描述: 鼠标目标位置

range

  • 类型: Range
  • 描述: 鼠标目标范围

type