summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-04-30 11:14:03 +0200
committerGitHub <noreply@github.com>2019-04-30 11:14:03 +0200
commit7e0c97e73b223d28204fc67672ebae157af1f96c (patch)
treefadb5d7b12ca5a90031d77ccafacbb450100ffa6 /doc
parent9916319df869d49128d72a97d02802ef3f931762 (diff)
parent9b86233e324ec117bc73e8a5ac001f46f8140011 (diff)
Merge pull request #27656 from Calinou/doc-lineedit-keybindings
Document built-in LineEdit keybindings
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/LineEdit.xml13
1 files changed, 11 insertions, 2 deletions
diff --git a/doc/classes/LineEdit.xml b/doc/classes/LineEdit.xml
index 6ea097ec2f..bb180b591d 100644
--- a/doc/classes/LineEdit.xml
+++ b/doc/classes/LineEdit.xml
@@ -1,10 +1,19 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="LineEdit" inherits="Control" category="Core" version="3.2">
<brief_description>
- Control that provides single line string editing.
+ Control that provides single-line string editing.
</brief_description>
<description>
- LineEdit provides a single line string editor, used for text fields.
+ LineEdit provides a single-line string editor, used for text fields. It features many built-in shortcuts which will always be available:
+ - Ctrl + C: Copy
+ - Ctrl + X: Cut
+ - Ctrl + V or Ctrl + Y: Paste/"yank"
+ - Ctrl + Z: Undo
+ - Ctrl + Shift + Z: Redo
+ - Ctrl + U: Delete text from the cursor position to the beginning of the line
+ - Ctrl + K: Delete text from the cursor position to the end of the line
+ - Ctrl + A: Select all text
+ - Up/Down arrow: Move the cursor to the beginning/end of the line
</description>
<tutorials>
</tutorials>