Represents a {@link TextEditor text editor}'s {@link TextEditor.options options}.
Fields
optionaltabSize:Null<EitherType<Int, String>>
The size in spaces a tab takes. This is used for two purposes: - the rendering width of a tab character; - the number of spaces to insert when {@link TextEditorOptions.insertSpaces insertSpaces} is true.
When getting a text editor's options, this property will always be a number (resolved).
When setting a text editor's options, this property is optional and it can be a number or "auto"
.
optionallineNumbers:Null<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.
optionalinsertSpaces:Null<EitherType<Bool, String>>
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"
.
optionalcursorStyle:Null<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.