瀏覽代碼

Document built-in LineEdit keybindings

Hugo Locurcio 6 年之前
父節點
當前提交
9b86233e32
共有 1 個文件被更改,包括 11 次插入2 次删除
  1. 11 2
      doc/classes/LineEdit.xml

+ 11 - 2
doc/classes/LineEdit.xml

@@ -1,10 +1,19 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <?xml version="1.0" encoding="UTF-8" ?>
 <class name="LineEdit" inherits="Control" category="Core" version="3.2">
 <class name="LineEdit" inherits="Control" category="Core" version="3.2">
 	<brief_description>
 	<brief_description>
-		Control that provides single line string editing.
+		Control that provides single-line string editing.
 	</brief_description>
 	</brief_description>
 	<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>
 	</description>
 	<tutorials>
 	<tutorials>
 	</tutorials>
 	</tutorials>