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.
Returns if the given line is foldable, that is, it has indented lines right below it.
Clear all the syntax coloring information.
Clear the undo history.
Copy the current selection.
Returns the column the editing cursor is at.
Returns the line the editing cursor is at.
Cut the current selection.
Clears the current selection.
Folds all lines that are possible to be folded (see [method can_fold]).
Folds the given line, if possible (see [method can_fold]).
Returns an array containing the line number of each breakpoint.
Returns the text of a specific line.
Returns the amount of total lines in the text.
Returns the [PopupMenu] of this [TextEdit]. By default, this menu is displayed when right-clicking on the [TextEdit].
Returns the selection begin column.
Returns the selection begin line.
Returns the text inside the selection.
Returns the selection end column.
Returns the selection end line.
Insert a given text at the cursor position.
Returns if the given line is folded.
Returns [code]true[/code] if the selection is active.
Paste the current selection.
Perform redo operation.
Removes all the breakpoints (without firing "breakpoint_toggled" signal).
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.
Toggle the folding of the code block at the given line.
Perform undo operation.
Unfolds the given line, if folded.
If [code]true[/code], the breakpoint gutter is visible.
If [code]true[/code], the caret (visual cursor) blinks.
Duration (in seconds) of a caret's blinking cycle.
If [code]true[/code], the caret displays as a rectangle.
If [code]false[/code], the caret displays as a bar.
If [code]true[/code], a right click moves the cursor at the mouse position before displaying the context menu.
If [code]false[/code], the context menu disregards mouse location.
If [code]true[/code], a right click displays the context menu.
If [code]true[/code], the "space" character will have a visible representation.
If [code]true[/code], the "tab" character will have a visible representation.
If [code]true[/code], the fold gutter is visible. This enables folding groups of indented lines.
If [code]true[/code], the line containing the cursor is highlighted.
If [code]true[/code], read-only mode is enabled. Existing text cannot be modified and new text cannot be added.
If [code]true[/code], line numbers are displayed to the left of the text.
String value of the [TextEdit].
Vertical scroll sensitivity.
If [code]true[/code], enables text wrapping when it goes beyond the edge of what is visible.
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.
Cuts (Copies and clears) the selected text.
Copies the selected text.
Pastes the clipboard text over the selected text (or at the cursor's position).
Erases the whole [TextEdit] text.
Selects the whole [TextEdit] text.
Undoes the previous action.