Skip to content

ITextModelUpdateOptions

原文链接

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

ts
interface ITextModelUpdateOptions {
    bracketColorizationOptions?: BracketPairColorizationOptions;
    indentSize?: number | "tabSize";
    insertSpaces?: boolean;
    tabSize?: number;
    trimAutoWhitespace?: boolean;
}

bracketColorizationOptions

indentSize

  • 类型: number | "tabSize"

insertSpaces

  • 类型: boolean

tabSize

  • 类型: number

trimAutoWhitespace

  • 类型: boolean