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.
Return the column the editing cursor is at.
Return the line the editing cursor is at.
Cut the current selection.
Clears the current selection.
Return an array containing the line number of each breakpoint.
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.
Insert a given text at the cursor position.
Return true 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.
- 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 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].
- If [code]true[/code], enables text wrapping when it goes beyond he 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.