You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: doc/classes/LineEdit.xml
+5-2
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
<description>
7
7
[LineEdit] provides an input field for editing a single line of text.
8
8
- When the [LineEdit] control is focused using the keyboard arrow keys, it will only gain focus and not enter edit mode.
9
-
- To enter edit mode, click on the control with the mouse or press the [code]ui_text_submit[/code] action (by default [kbd]Enter[/kbd] or [kbd]Kp Enter[/kbd]).
9
+
- To enter edit mode, click on the control with the mouse, see also [member keep_editing_on_text_submit].
10
10
- To exit edit mode, press [code]ui_text_submit[/code] or [code]ui_cancel[/code] (by default [kbd]Escape[/kbd]) actions.
11
11
- Check [method edit], [method unedit], [method is_editing], and [signal editing_toggled] for more information.
12
12
[b]Important:[/b]
@@ -80,7 +80,7 @@
80
80
<returntype="void" />
81
81
<description>
82
82
Allows entering edit mode whether the [LineEdit] is focused or not.
83
-
Use [method Callable.call_deferred] if you want to enter edit mode on [signal text_submitted].
83
+
See also [member keep_editing_on_text_submit].
84
84
</description>
85
85
</method>
86
86
<methodname="get_menu"qualifiers="const">
@@ -283,6 +283,9 @@
283
283
If [code]true[/code], the [LineEdit] doesn't display decoration.
If [code]true[/code], the [LineEdit] will not exit edit mode when text is submitted by pressing [code]ui_text_submit[/code] action (by default: [kbd]Enter[/kbd] or [kbd]Kp Enter[/kbd]).
0 commit comments