const classpetanque::EditorOptions
sys::Obj petanque::EditorOptions
EditorOptions defines options for text normalization, theme and syntax styling, and key bindings
- bg
const Color bg := Color.white- bgCurLine
const Color bgCurLine := Color.<ctor>(15658734)- bracket
const RichTextStyle bracket := ...- bracketMatch
const RichTextStyle bracketMatch := ...- caretColor
const Color caretColor := Color.yellow- comment
const RichTextStyle comment := ...- convertTabsToSpaces
const Bool convertTabsToSpaces := trueIf true, then all tabs to converted to space characters based on the configured tabSpacing. The default is true.
- div
const Color div := Color.<ctor>(14540253)- font
const Font font := Desktop.sysFontMonospace- highlight
const Color highlight := Color.<ctor>(16777062)- 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".
- lineNumberColor
const Color lineNumberColor := Color.<ctor>(11184810)- make
new make(|This? f := null)Default constructor with it-block
- numLiteral
const RichTextStyle numLiteral := ...- scrollBg
const Color scrollBg := Color.<ctor>(1891680448, true)- scrollFg
const Color scrollFg := Color.<ctor>(1883258944, true)- selectBg
const Color selectBg := Desktop.sysListSelBg- selectFg
const Color selectFg := Desktop.sysListSelFg- showColColor
const Color showColColor := Color.<ctor>(14540253)- showColPen
const Pen showColPen := Pen.make() |Pen->Void| { ... }- showCols
const Int[] showCols := Int[((Obj?)2),((Obj?)79)]- strLiteral
const RichTextStyle strLiteral := ...- stripTrailingWhitespace
const Bool stripTrailingWhitespace := trueIf true, then trailing whitespace on each text line is strip on save. Default is true.
- tabSpacing
const Int tabSpacing := 2Number of spaces to use for a tab. Default is 2.
- text
const RichTextStyle text := ...