- _clickSelectionHeld
void _clickSelectionHeld()
- _cursorChangedEmit
void _cursorChangedEmit()
- _guiInput
void _guiInput(InputEvent arg0)
- _pushCurrentOp
void _pushCurrentOp()
- _scrollMoved
void _scrollMoved(double arg0)
- _textChangedEmit
void _textChangedEmit()
- _toggleDrawCaret
void _toggleDrawCaret()
- _vScrollInput
void _vScrollInput()
- addColorRegion
void addColorRegion(StringArg0 begin_key, StringArg1 end_key, Color color, bool line_only)
Add color region (given the delimiters) and its colors.
- addKeywordColor
void addKeywordColor(StringArg0 keyword, Color color)
Add a keyword and its color.
- canFold
bool canFold(long line)
- clearColors
void clearColors()
Clear all the syntax coloring information.
- clearUndoHistory
void clearUndoHistory()
- copy
void copy()
Copy the current selection.
- cursorGetBlinkEnabled
bool cursorGetBlinkEnabled()
- cursorGetBlinkSpeed
double cursorGetBlinkSpeed()
- cursorGetColumn
long cursorGetColumn()
Return the column the editing cursor is at.
- cursorGetLine
long cursorGetLine()
Return the line the editing cursor is at.
- cursorIsBlockMode
bool cursorIsBlockMode()
- cursorSetBlinkEnabled
void cursorSetBlinkEnabled(bool enable)
- cursorSetBlinkSpeed
void cursorSetBlinkSpeed(double blink_speed)
- cursorSetBlockMode
void cursorSetBlockMode(bool enable)
- cursorSetColumn
void cursorSetColumn(long column, bool adjust_viewport)
- cursorSetLine
void cursorSetLine(long line, bool adjust_viewport, bool can_be_hidden, long wrap_index)
- cut
void cut()
Cut the current selection.
- deselect
void deselect()
Clears the current selection.
- foldAllLines
void foldAllLines()
- foldLine
void foldLine(long line)
- getBreakpoints
Array getBreakpoints()
Return an array containing the line number of each breakpoint.
- getKeywordColor
Color getKeywordColor(StringArg0 keyword)
- getLine
String getLine(long line)
Return the text of a specific line.
- getLineCount
long getLineCount()
Return the amount of total lines in the text.
- getMenu
PopupMenu getMenu()
- getSelectionFromColumn
long getSelectionFromColumn()
Return the selection begin column.
- getSelectionFromLine
long getSelectionFromLine()
Return the selection begin line.
- getSelectionText
String getSelectionText()
Return the text inside the selection.
- getSelectionToColumn
long getSelectionToColumn()
Return the selection end column.
- getSelectionToLine
long getSelectionToLine()
Return the selection end line.
- getText
String getText()
- getVScrollSpeed
double getVScrollSpeed()
- getWordUnderCursor
String getWordUnderCursor()
- hasKeywordColor
bool hasKeywordColor(StringArg0 keyword)
- insertTextAtCursor
void insertTextAtCursor(StringArg0 text)
Insert a given text at the cursor position.
- isBreakpointGutterEnabled
bool isBreakpointGutterEnabled()
- isContextMenuEnabled
bool isContextMenuEnabled()
- isFolded
bool isFolded(long line)
- isHidingEnabled
long isHidingEnabled()
- isHighlightAllOccurrencesEnabled
bool isHighlightAllOccurrencesEnabled()
- isHighlightCurrentLineEnabled
bool isHighlightCurrentLineEnabled()
- isLineHidden
bool isLineHidden(long line)
- isOverridingSelectedFontColor
bool isOverridingSelectedFontColor()
- isReadonly
bool isReadonly()
- isRightClickMovingCaret
bool isRightClickMovingCaret()
- isSelectionActive
bool isSelectionActive()
Return true if the selection is active.
- isShowLineNumbersEnabled
bool isShowLineNumbersEnabled()
- isSmoothScrollEnabled
bool isSmoothScrollEnabled()
- isSyntaxColoringEnabled
bool isSyntaxColoringEnabled()
- isWrapEnabled
bool isWrapEnabled()
- menuOption
void menuOption(long option)
- opAssign
TextEdit opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(TextEdit other)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.
- paste
void paste()
Paste the current selection.
- redo
void redo()
- removeBreakpoints
void removeBreakpoints()
Removes all the breakpoints (without firing "breakpoint_toggled" signal).
- search
PoolIntArray search(StringArg0 key, long flags, long from_line, long from_column)
Perform a search inside the text. Search flags can be specified in the SEARCH_* enum.
- select
void select(long from_line, long from_column, long to_line, long to_column)
Perform selection, from line/column to line/column.
- selectAll
void selectAll()
- setBreakpointGutterEnabled
void setBreakpointGutterEnabled(bool enable)
- setContextMenuEnabled
void setContextMenuEnabled(bool enable)
- setHidingEnabled
void setHidingEnabled(long enable)
- setHighlightAllOccurrences
void setHighlightAllOccurrences(bool enable)
- setHighlightCurrentLine
void setHighlightCurrentLine(bool enabled)
- setLineAsHidden
void setLineAsHidden(long line, bool enable)
- setOverrideSelectedFontColor
void setOverrideSelectedFontColor(bool _override)
- setReadonly
void setReadonly(bool enable)
- setRightClickMovesCaret
void setRightClickMovesCaret(bool enable)
- setShowLineNumbers
void setShowLineNumbers(bool enable)
- setSmoothScrollEnable
void setSmoothScrollEnable(bool enable)
- setSyntaxColoring
void setSyntaxColoring(bool enable)
- setText
void setText(StringArg0 text)
- setVScrollSpeed
void setVScrollSpeed(double speed)
- setWrapEnabled
void setWrapEnabled(bool enable)
- toggleFoldLine
void toggleFoldLine(long line)
Toggle the folding of the code block at the given line.
- undo
void undo()
- unfoldLine
void unfoldLine(long line)
- unhideAllLines
void unhideAllLines()
- breakpointGutter
bool breakpointGutter [@property getter]
bool breakpointGutter [@property setter]
If true the breakpoint gutter is visible.
- caretBlink
bool caretBlink [@property setter]
If true the caret (visual cursor) blinks.
- caretBlink
bool caretBlink [@property getter]
If true the caret (visual cursor) blinks.
- caretBlinkSpeed
double caretBlinkSpeed [@property setter]
Duration (in seconds) of a caret's blinking cycle.
- caretBlinkSpeed
double caretBlinkSpeed [@property getter]
Duration (in seconds) of a caret's blinking cycle.
- caretBlockMode
bool caretBlockMode [@property setter]
If true the caret displays as a rectangle.
If false the caret displays as a bar.
- caretBlockMode
bool caretBlockMode [@property getter]
If true the caret displays as a rectangle.
If false the caret displays as a bar.
- caretMovingByRightClick
bool caretMovingByRightClick [@property getter]
bool caretMovingByRightClick [@property setter]
If true a right click moves the cursor at the mouse position before displaying the context menu.
If false the context menu disregards mouse location.
- contextMenuEnabled
bool contextMenuEnabled [@property getter]
bool contextMenuEnabled [@property setter]
If true a right click displays the context menu.
- hidingEnabled
long hidingEnabled [@property getter]
long hidingEnabled [@property setter]
- highlightAllOccurrences
bool highlightAllOccurrences [@property getter]
bool highlightAllOccurrences [@property setter]
- highlightCurrentLine
bool highlightCurrentLine [@property setter]
If true the line containing the cursor is highlighted.
- highlightCurrentLine
bool highlightCurrentLine [@property getter]
If true the line containing the cursor is highlighted.
- overrideSelectedFontColor
bool overrideSelectedFontColor [@property getter]
bool overrideSelectedFontColor [@property setter]
- readonly
bool readonly [@property setter]
If true read-only mode is enabled. Existing text cannot be modified and new text cannot be added.
- readonly
bool readonly [@property getter]
If true read-only mode is enabled. Existing text cannot be modified and new text cannot be added.
- showLineNumbers
bool showLineNumbers [@property getter]
bool showLineNumbers [@property setter]
If true line numbers are displayed to the left of the text.
- smoothScrolling
bool smoothScrolling [@property getter]
bool smoothScrolling [@property setter]
- syntaxHighlighting
bool syntaxHighlighting [@property getter]
bool syntaxHighlighting [@property setter]
- text
String text [@property setter]
- text
String text [@property getter]
- vScrollSpeed
double vScrollSpeed [@property getter]
double vScrollSpeed [@property setter]
If true, enables text wrapping when it goes beyond he edge of what is visible.
- wrapEnabled
bool wrapEnabled [@property getter]
bool wrapEnabled [@property setter]
Multiline text editing control.
TextEdit is meant for editing large, multiline text. It also has facilities for editing code, such as syntax highlighting support and multiple levels of undo/redo.