const class fluxText::TextEditorOptions

sys::Obj
  fluxText::TextEditorOptions

@Serializable

Source

TextEditorOptions configured general text document options.

bracket

const RichTextStyle bracket := ...

Source

bracketMatch

const RichTextStyle bracketMatch := ...

Source

charset

const Charset charset := Charset.utf8

Source

Default char encoding to use when load/saving text files. Defaults to utf8.

comment

const RichTextStyle comment := ...

Source

convertTabsToSpaces

const Bool convertTabsToSpaces := true

Source

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

Source

highlightCurLine

const Color highlightCurLine := Color.<ctor>(15790320)

Source

keyword

const RichTextStyle keyword := ...

Source

lineDelimiter

const Str lineDelimiter := "\n"

Source

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 := ...

Source

make

new make(|This|? f := null)

Source

Default constructor with it-block

stripTrailingWhitespace

const Bool stripTrailingWhitespace := true

Source

If true, then trailing whitespace on each text line is strip on save. Default is true.

tabSpacing

const Int tabSpacing := 2

Source

Number of spaces to use for a tab. Default is 2.

text

const RichTextStyle text := ...

Source