Module text_edit

Consts

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

Procs

proc text(self: TextEdit): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc text=(self: TextEdit; val: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc readonly(self: TextEdit): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc readonly=(self: TextEdit; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc highlightCurrentLine(self: TextEdit): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc highlightCurrentLine=(self: TextEdit; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc syntaxHighlighting(self: TextEdit): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc syntaxHighlighting=(self: TextEdit; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc showLineNumbers(self: TextEdit): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc showLineNumbers=(self: TextEdit; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc highlightAllOccurrences(self: TextEdit): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc highlightAllOccurrences=(self: TextEdit; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc overrideSelectedFontColor(self: TextEdit): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc overrideSelectedFontColor=(self: TextEdit; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc contextMenuEnabled(self: TextEdit): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc contextMenuEnabled=(self: TextEdit; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc smoothScrolling(self: TextEdit): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc smoothScrolling=(self: TextEdit; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc vScrollSpeed(self: TextEdit): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc vScrollSpeed=(self: TextEdit; val: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hidingEnabled(self: TextEdit): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hidingEnabled=(self: TextEdit; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc wrapEnabled(self: TextEdit): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc wrapEnabled=(self: TextEdit; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc caretBlockMode(self: TextEdit): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc caretBlockMode=(self: TextEdit; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc caretBlink=(self: TextEdit; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc caretBlinkSpeed(self: TextEdit): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc caretBlinkSpeed=(self: TextEdit; val: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc caretMovingByRightClick(self: TextEdit): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc caretMovingByRightClick=(self: TextEdit; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc insertTextAtCursor(self: TextEdit; text: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getLineCount(self: TextEdit): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getLine(self: TextEdit; line: int64): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc cursorSetColumn(self: TextEdit; column: int64; adjustViewport: bool = true) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc cursorSetLine(self: TextEdit; line: int64; adjustViewport: bool = true;
                  canBeHidden: bool = true; wrapIndex: int64 = 0'i64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc cursorGetColumn(self: TextEdit): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc cursorGetLine(self: TextEdit): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc cut(self: TextEdit) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc copy(self: TextEdit) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc paste(self: TextEdit) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc select(self: TextEdit; fromLine: int64; fromColumn: int64; toLine: int64;
           toColumn: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc selectAll(self: TextEdit) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc deselect(self: TextEdit) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc isSelectionActive(self: TextEdit): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getSelectionFromLine(self: TextEdit): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getSelectionFromColumn(self: TextEdit): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getSelectionToLine(self: TextEdit): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getSelectionToColumn(self: TextEdit): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getSelectionText(self: TextEdit): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getWordUnderCursor(self: TextEdit): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc undo(self: TextEdit) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc redo(self: TextEdit) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc clearUndoHistory(self: TextEdit) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setLineAsHidden(self: TextEdit; line: int64; enable: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc isLineHidden(self: TextEdit; line: int64): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc foldAllLines(self: TextEdit) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc unhideAllLines(self: TextEdit) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc foldLine(self: TextEdit; line: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc unfoldLine(self: TextEdit; line: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc toggleFoldLine(self: TextEdit; line: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc canFold(self: TextEdit; line: int64): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc isFolded(self: TextEdit; line: int64): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addKeywordColor(self: TextEdit; keyword: string; color: Color) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hasKeywordColor(self: TextEdit; keyword: string): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getKeywordColor(self: TextEdit; keyword: string): Color {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addColorRegion(self: TextEdit; beginKey: string; endKey: string; color: Color;
                   lineOnly: bool = false) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc clearColors(self: TextEdit) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getMenu(self: TextEdit): PopupMenu {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}

Methods

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