mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Improve shortcut formatting in docs
This commit is contained in:
@@ -5,27 +5,27 @@
|
||||
</brief_description>
|
||||
<description>
|
||||
LineEdit provides a single-line string editor, used for text fields.
|
||||
It features many built-in shortcuts which will always be available ([code]Ctrl[/code] here maps to [code]Command[/code] on macOS):
|
||||
- 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
|
||||
It features many built-in shortcuts which will always be available ([kbd]Ctrl[/kbd] here maps to [kbd]Cmd[/kbd] on macOS):
|
||||
- [kbd]Ctrl + C[/kbd]: Copy
|
||||
- [kbd]Ctrl + X[/kbd]: Cut
|
||||
- [kbd]Ctrl + V[/kbd] or [kbd]Ctrl + Y[/kbd]: Paste/"yank"
|
||||
- [kbd]Ctrl + Z[/kbd]: Undo
|
||||
- [kbd]Ctrl + Shift + Z[/kbd]: Redo
|
||||
- [kbd]Ctrl + U[/kbd]: Delete text from the cursor position to the beginning of the line
|
||||
- [kbd]Ctrl + K[/kbd]: Delete text from the cursor position to the end of the line
|
||||
- [kbd]Ctrl + A[/kbd]: Select all text
|
||||
- [kbd]Up Arrow[/kbd]/[kbd]Down Arrow[/kbd]: Move the cursor to the beginning/end of the line
|
||||
On macOS, some extra keyboard shortcuts are available:
|
||||
- Ctrl + F: Like the right arrow key, move the cursor one character right
|
||||
- Ctrl + B: Like the left arrow key, move the cursor one character left
|
||||
- Ctrl + P: Like the up arrow key, move the cursor to the previous line
|
||||
- Ctrl + N: Like the down arrow key, move the cursor to the next line
|
||||
- Ctrl + D: Like the Delete key, delete the character on the right side of cursor
|
||||
- Ctrl + H: Like the Backspace key, delete the character on the left side of the cursor
|
||||
- Ctrl + A: Like the Home key, move the cursor to the beginning of the line
|
||||
- Ctrl + E: Like the End key, move the cursor to the end of the line
|
||||
- Command + Left arrow: Like the Home key, move the cursor to the beginning of the line
|
||||
- Command + Right arrow: Like the End key, move the cursor to the end of the line
|
||||
- [kbd]Ctrl + F[/kbd]: Same as [kbd]Right Arrow[/kbd], move the cursor one character right
|
||||
- [kbd]Ctrl + B[/kbd]: Same as [kbd]Left Arrow[/kbd], move the cursor one character left
|
||||
- [kbd]Ctrl + P[/kbd]: Same as [kbd]Up Arrow[/kbd], move the cursor to the previous line
|
||||
- [kbd]Ctrl + N[/kbd]: Same as [kbd]Down Arrow[/kbd], move the cursor to the next line
|
||||
- [kbd]Ctrl + D[/kbd]: Same as [kbd]Delete[/kbd], delete the character on the right side of cursor
|
||||
- [kbd]Ctrl + H[/kbd]: Same as [kbd]Backspace[/kbd], delete the character on the left side of the cursor
|
||||
- [kbd]Ctrl + A[/kbd]: Same as [kbd]Home[/kbd], move the cursor to the beginning of the line
|
||||
- [kbd]Ctrl + E[/kbd]: Same as [kbd]End[/kbd], move the cursor to the end of the line
|
||||
- [kbd]Cmd + Left Arrow[/kbd]: Same as [kbd]Home[/kbd], move the cursor to the beginning of the line
|
||||
- [kbd]Cmd + Right Arrow[/kbd]: Same as [kbd]End[/kbd], move the cursor to the end of the line
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
|
||||
Reference in New Issue
Block a user