Control that provides single line string editing.
LineEdit provides a single line string editor, used for text fields.
Append text at cursor, scrolling the [LineEdit] when needed.
Clear the [LineEdit] text.
Gets whether the line edit caret is blinking.
Gets the line edit caret blink speed.
Set the line edit caret to blink.
Set the line edit caret blink speed. Cannot be less then or equal to 0.
Return the align mode of the [LineEdit].
Return the cursor position inside the [LineEdit].
Return the maximum amount of characters the [LineEdit] can edit. If 0 is returned, no limit exists.
Return the [PopupMenu] of this [LineEdit].
Return the placeholder text.
Return transparency of the placeholder text.
Return the text in the [LineEdit].
Return the [i]editable[/i] status of the [LineEdit] (see [method set_editable]).
Return the [i]secret[/i] status of the [LineEdit] (see [method set_secret]).
Execute a given action as defined in the MENU_* enum.
Select the text inside [LineEdit] by the given character positions. [code]from[/code] is default to the beginning. [code]to[/code] is default to the end.
[codeblock]
select() # select all
select(5) # select from the fifth character to the end.
select(2, 5) # select from the second to the fifth character.
[/codeblock]
Select the whole string.
Set text alignment of the [LineEdit].
Set the cursor position inside the [LineEdit], causing it to scroll if needed.
Set the [i]editable[/i] status of the [LineEdit]. When disabled, existing text can't be modified and new text can't be added.
Set the maximum amount of characters the [LineEdit] can edit, and cropping existing text in case it exceeds that limit. Setting 0 removes the limit.
Set the placeholder text.
Set transparency of the placeholder text.
Set the [i]secret[/i] status of the [LineEdit]. When enabled, every character is displayed as "*".
Set the text in the [LineEdit], clearing the existing one and the selection.
When the text changes, this signal is emitted.
This signal is emitted when the user presses KEY_ENTER on the [LineEdit]. This signal is often used as an alternate confirmation mechanism in dialogs.
Align left.
Align center.
Align right.
Align fill.
Cut (Copy and clear).
Copy the selected text.
Paste the clipboard text over the selected text.
Clear the text.
Select all text.
Undo an action.