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.
Add color region (given the delimiters) and its colors.
Add a keyword and its color.
Clear all the syntax coloring information.
Clear the undo history.
Copy the current selection.
Gets whether the text editor caret is blinking.
Gets the text editor caret blink speed.
Return the column the editing cursor is at.
Return the line the editing cursor is at.
Gets whether the text editor caret is in block mode.
Set the text editor caret to blink.
Set the text editor caret blink speed. Cannot be less then or equal to 0.
Set the text editor caret to block mode.
Cut the current selection.
Return the text of a specific line.
Return the amount of total lines in the text.
Return the selection begin column.
Return the selection begin line.
Return the text inside the selection.
Return the selection end column.
Return the selection end line.
Return the whole text.
Insert a given text at the cursor position.
Returns true if highlight all occurrences is enabled.
Returns true if the context menu is enabled.
+
+
+
+ Return true if the text editor is in read-only mode (see [method set_readonly]).
+
+
Return true if the selection is active.
Returns true if line numbers are enabled.
Return true if the syntax coloring is enabled.
Paste the current selection.
Perform redo operation.
Perform a search inside the text. Search flags can be specified in the SEARCH_* enum.
Perform selection, from line/column to line/column.
Select all the text.
Set the status of the context menu. When enabled, the context menu will appear when the [code]TextEdit[/code] is right clicked.
Set to enable highlighting all occurrences of the current selection.
Set the maximum amount of characters editable.
Set the text editor as read-only. Text can be displayed but not edited.
Set to enable showing line numbers.
Set to enable the syntax coloring.
Set the entire text.
Enable text wrapping when it goes beyond he edge of what is visible.
Perform undo operation.
String value of the [TextEdit].
If [code]true[/code] read-only mode is enabled. Existing text cannot be modified and new text cannot be added.
Emitted when a breakpoint is placed via the breakpoint gutter.
Emitted when the cursor changes.
Emitted when the text changes.
Match case when searching.
Match whole words when searching.
Search from end to beginning.