const classpetanque::EditorOptions

sys::Obj
  petanque::EditorOptions

EditorOptions defines options for text normalization, theme and syntax styling, and key bindings

bg

Source

const Color bg := Color.white

bgCurLine

Source

const Color bgCurLine := Color.<ctor>(15658734)

bracket

Source

const RichTextStyle bracket := ...

bracketMatch

Source

const RichTextStyle bracketMatch := ...

caretColor

Source

const Color caretColor := Color.yellow

comment

Source

const RichTextStyle comment := ...

convertTabsToSpaces

Source

const Bool convertTabsToSpaces := true

If true, then all tabs to converted to space characters based on the configured tabSpacing. The default is true.

div

Source

const Color div := Color.<ctor>(14540253)

font

Source

const Font font := Desktop.sysFontMonospace

highlight

Source

const Color highlight := Color.<ctor>(16777062)

keyword

Source

const RichTextStyle keyword := ...

lineDelimiter

Source

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

Source

const Color lineNumberColor := Color.<ctor>(11184810)

make

Source

new make(|This? f := null)

Default constructor with it-block

numLiteral

Source

const RichTextStyle numLiteral := ...

scrollBg

Source

const Color scrollBg := Color.<ctor>(1891680448, true)

scrollFg

Source

const Color scrollFg := Color.<ctor>(1883258944, true)

selectBg

Source

const Color selectBg := Desktop.sysListSelBg

selectFg

Source

const Color selectFg := Desktop.sysListSelFg

showColColor

Source

const Color showColColor := Color.<ctor>(14540253)

showColPen

Source

const Pen showColPen := Pen.make() |Pen->Void| { ... }

showCols

Source

const Int[] showCols := Int[((Obj?)2),((Obj?)79)]

strLiteral

Source

const RichTextStyle strLiteral := ...

stripTrailingWhitespace

Source

const Bool stripTrailingWhitespace := true

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

tabSpacing

Source

const Int tabSpacing := 2

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

text

Source

const RichTextStyle text := ...