const class fluxText::TextEditorOptions
sys::Obj fluxText::TextEditorOptions
TextEditorOptions configured general text document options.
- bracket
-
const RichTextStyle bracket := ...
- bracketMatch
-
const RichTextStyle bracketMatch := ...
- charset
-
const Charset charset := Charset.utf8
Default char encoding to use when load/saving text files. Defaults to utf8.
- comment
-
const RichTextStyle comment := ...
- convertTabsToSpaces
-
const Bool convertTabsToSpaces := true
If true, then all tabs to converted to space characters based on the configured
tabSpacing
. The default is true. - font
-
const Font font := Desktop.sysFontMonospace
- highlightCurLine
-
const Color highlightCurLine := Color.<ctor>(15790320)
- keyword
-
const RichTextStyle keyword := ...
- lineDelimiter
-
const Str lineDelimiter := "\n"
Default line end delimiter to use when saving text files. Note that loading text files will accept any combination of "\n", "\r", or "\r\n" - but that if the doc is saved then this line ending is applied. Default is "\n".
- literal
-
const RichTextStyle literal := ...
- make
-
new make(|This|? f := null)
Default constructor with it-block
- stripTrailingWhitespace
-
const Bool stripTrailingWhitespace := true
If true, then trailing whitespace on each text line is strip on save. Default is true.
- tabSpacing
-
const Int tabSpacing := 2
Number of spaces to use for a tab. Default is 2.
- text
-
const RichTextStyle text := ...