TextEditorOptions$Typings extension
Properties
-
cursorStyle
↔ TextEditorCursorStyle?
-
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?
-
The number of spaces to insert when {@link TextEditorOptions.insertSpaces insertSpaces} is true.
getter/setter pair
-
insertSpaces
↔ Object?
-
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?
-
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?
-
The size in spaces a tab takes. This is used for two purposes:
getter/setter pair