summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThaddeus Crews <repiteo@outlook.com>2024-10-24 13:22:32 -0500
committerThaddeus Crews <repiteo@outlook.com>2024-10-24 13:22:32 -0500
commit444ee640620a0d7a95bbab37e527fd2f29765b94 (patch)
tree37126a0d4d58d788d22d9273004f7328d6f4b822
parentff9fb0abea2027c35f0a024297c780648cc806bc (diff)
parentfc7dd35d78dff8c2cc11a197c2aa4d1766f15db2 (diff)
downloadredot-engine-444ee640620a0d7a95bbab37e527fd2f29765b94.tar.gz
Merge pull request #98304 from timothyqiu/menu-only-shortcut-keys
Clarify `LineEdit.shortcut_keys_enabled` only affects context menu items
-rw-r--r--doc/classes/LineEdit.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/classes/LineEdit.xml b/doc/classes/LineEdit.xml
index 3e0c328dcb..91c9072f73 100644
--- a/doc/classes/LineEdit.xml
+++ b/doc/classes/LineEdit.xml
@@ -33,6 +33,7 @@
- [kbd]Cmd + E[/kbd]: Same as [kbd]End[/kbd], move the caret to the end of the line
- [kbd]Cmd + Left Arrow[/kbd]: Same as [kbd]Home[/kbd], move the caret to the beginning of the line
- [kbd]Cmd + Right Arrow[/kbd]: Same as [kbd]End[/kbd], move the caret to the end of the line
+ [b]Note:[/b] Caret movement shortcuts listed above are not affected by [member shortcut_keys_enabled].
</description>
<tutorials>
</tutorials>
@@ -334,7 +335,7 @@
If [code]false[/code], it's impossible to select the text using mouse nor keyboard.
</member>
<member name="shortcut_keys_enabled" type="bool" setter="set_shortcut_keys_enabled" getter="is_shortcut_keys_enabled" default="true">
- If [code]false[/code], using shortcuts will be disabled.
+ If [code]true[/code], shortcut keys for context menu items are enabled, even if the context menu is disabled.
</member>
<member name="structured_text_bidi_override" type="int" setter="set_structured_text_bidi_override" getter="get_structured_text_bidi_override" enum="TextServer.StructuredTextParser" default="0">
Set BiDi algorithm override for the structured text.