Module text_edit

Consts

SEARCH_MATCH_CASE* = 1'i64
SEARCH_WHOLE_WORDS* = 2'i64
SEARCH_BACKWARDS* = 4'i64

Procs

proc syntaxHighlighting*(self: TextEdit): bool {.
gcsafe, locks: 0
.}
proc `syntaxHighlighting =`*(self: TextEdit; val: bool) {.
gcsafe, locks: 0
.}
proc showLineNumbers*(self: TextEdit): bool {.
gcsafe, locks: 0
.}
proc `showLineNumbers =`*(self: TextEdit; val: bool) {.
gcsafe, locks: 0
.}
proc highlightAllOccurrences*(self: TextEdit): bool {.
gcsafe, locks: 0
.}
proc `highlightAllOccurrences =`*(self: TextEdit; val: bool) {.
gcsafe, locks: 0
.}
proc caretBlockMode*(self: TextEdit): bool {.
gcsafe, locks: 0
.}
proc `caretBlockMode =`*(self: TextEdit; val: bool) {.
gcsafe, locks: 0
.}
proc `caretBlink =`*(self: TextEdit; val: bool) {.
gcsafe, locks: 0
.}
proc caretBlinkSpeed*(self: TextEdit): float64 {.
gcsafe, locks: 0
.}
proc `caretBlinkSpeed =`*(self: TextEdit; val: float64) {.
gcsafe, locks: 0
.}
proc setText*(self: TextEdit; text: string) {.
gcsafe, locks: 0
.}
proc insertTextAtCursor*(self: TextEdit; text: string) {.
gcsafe, locks: 0
.}
proc getLineCount*(self: TextEdit): int64 {.
gcsafe, locks: 0
.}
proc getText*(self: TextEdit): string {.
gcsafe, locks: 0
.}
proc getLine*(self: TextEdit; line: int64): string {.
gcsafe, locks: 0
.}
proc cursorSetColumn*(self: TextEdit; column: int64; adjustViewport: bool = true) {.
gcsafe, locks: 0
.}
proc cursorSetLine*(self: TextEdit; line: int64; adjustViewport: bool = true) {.
gcsafe, locks: 0
.}
proc cursorGetColumn*(self: TextEdit): int64 {.
gcsafe, locks: 0
.}
proc cursorGetLine*(self: TextEdit): int64 {.
gcsafe, locks: 0
.}
proc setReadonly*(self: TextEdit; enable: bool) {.
gcsafe, locks: 0
.}
proc setWrap*(self: TextEdit; enable: bool) {.
gcsafe, locks: 0
.}
proc setMaxChars*(self: TextEdit; amount: int64) {.
gcsafe, locks: 0
.}
proc cut*(self: TextEdit) {.
gcsafe, locks: 0
.}
proc copy*(self: TextEdit) {.
gcsafe, locks: 0
.}
proc paste*(self: TextEdit) {.
gcsafe, locks: 0
.}
proc selectAll*(self: TextEdit) {.
gcsafe, locks: 0
.}
proc select*(self: TextEdit; fromLine: int64; fromColumn: int64; toLine: int64;
            toColumn: int64) {.
gcsafe, locks: 0
.}
proc isSelectionActive*(self: TextEdit): bool {.
gcsafe, locks: 0
.}
proc getSelectionFromLine*(self: TextEdit): int64 {.
gcsafe, locks: 0
.}
proc getSelectionFromColumn*(self: TextEdit): int64 {.
gcsafe, locks: 0
.}
proc getSelectionToLine*(self: TextEdit): int64 {.
gcsafe, locks: 0
.}
proc getSelectionToColumn*(self: TextEdit): int64 {.
gcsafe, locks: 0
.}
proc getSelectionText*(self: TextEdit): string {.
gcsafe, locks: 0
.}
proc getWordUnderCursor*(self: TextEdit): string {.
gcsafe, locks: 0
.}
proc undo*(self: TextEdit) {.
gcsafe, locks: 0
.}
proc redo*(self: TextEdit) {.
gcsafe, locks: 0
.}
proc clearUndoHistory*(self: TextEdit) {.
gcsafe, locks: 0
.}
proc addKeywordColor*(self: TextEdit; keyword: string; color: Color) {.
gcsafe, locks: 0
.}
proc addColorRegion*(self: TextEdit; beginKey: string; endKey: string; color: Color;
                    lineOnly: bool = false) {.
gcsafe, locks: 0
.}
proc clearColors*(self: TextEdit) {.
gcsafe, locks: 0
.}
proc getMenu*(self: TextEdit): PopupMenu {.
gcsafe, locks: 0
.}

Methods

method guiInput*(self: TextEdit; event: InputEvent) {.
gcsafe, locks: 0
.}
method scrollMoved*(self: TextEdit; arg0: float64) {.
gcsafe, locks: 0, base
.}
method cursorChangedEmit*(self: TextEdit) {.
gcsafe, locks: 0, base
.}
method textChangedEmit*(self: TextEdit) {.
gcsafe, locks: 0, base
.}
method pushCurrentOp*(self: TextEdit) {.
gcsafe, locks: 0, base
.}
method clickSelectionHeld*(self: TextEdit) {.
gcsafe, locks: 0, base
.}
method toggleDrawCaret*(self: TextEdit) {.
gcsafe, locks: 0, base
.}