From 9b86233e324ec117bc73e8a5ac001f46f8140011 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Wed, 3 Apr 2019 22:29:06 +0200 Subject: [PATCH] Document built-in LineEdit keybindings --- doc/classes/LineEdit.xml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/doc/classes/LineEdit.xml b/doc/classes/LineEdit.xml index 3d94a465dce..c659903b41c 100644 --- a/doc/classes/LineEdit.xml +++ b/doc/classes/LineEdit.xml @@ -1,10 +1,19 @@ - Control that provides single line string editing. + Control that provides single-line string editing. - 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