TextEditorOptions$Typings extension

on

Properties

cursorStyle TextEditorCursorStyle?

Available on TextEditorOptions, provided by the TextEditorOptions$Typings extension

The rendering style of the cursor in this editor. When getting a text editor's options, this property will always be present. When setting a text editor's options, this property is optional.
getter/setter pair
indentSize Object?

Available on TextEditorOptions, provided by the TextEditorOptions$Typings extension

The number of spaces to insert when {@link TextEditorOptions.insertSpaces insertSpaces} is true.
getter/setter pair
insertSpaces Object?

Available on TextEditorOptions, provided by the TextEditorOptions$Typings extension

When pressing Tab insert {@link TextEditorOptions.tabSize n} spaces. When getting a text editor's options, this property will always be a boolean (resolved). When setting a text editor's options, this property is optional and it can be a boolean or "auto".
getter/setter pair
lineNumbers TextEditorLineNumbersStyle?

Available on TextEditorOptions, provided by the TextEditorOptions$Typings extension

Render relative line numbers w.r.t. the current line number. When getting a text editor's options, this property will always be present. When setting a text editor's options, this property is optional.
getter/setter pair
tabSize Object?

Available on TextEditorOptions, provided by the TextEditorOptions$Typings extension

The size in spaces a tab takes. This is used for two purposes:
getter/setter pair