Skip to content

IMouseTargetMarginData

原文链接

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

ts
interface IMouseTargetMarginData {
    glyphMarginLane?: GlyphMarginLane;
    glyphMarginLeft: number;
    glyphMarginWidth: number;
    isAfterLines: boolean;
    lineNumbersWidth: number;
    offsetX: number;
}

glyphMarginLane

glyphMarginLeft

  • 类型: number

glyphMarginWidth

  • 类型: number

isAfterLines

  • 类型: boolean

lineNumbersWidth

  • 类型: number

offsetX

  • 类型: number