Difference between revisions of "Manual:Script Editor"
Jump to navigation
Jump to search
(→Editor shortcuts: alternate background color improve readability) |
|||
| Line 42: | Line 42: | ||
| style="font-family: monospace, monospace;" | Ctrl+Shift+L | | style="font-family: monospace, monospace;" | Ctrl+Shift+L | ||
| Select previous lines | | Select previous lines | ||
| + | |- | ||
| + | | style="font-family: monospace, monospace;" | Ctrl+F | ||
| + | | Opens the script editor's FIND dialog. | ||
| + | |- style="background-color:#ffefef;" | ||
| + | | style="font-family: monospace, monospace;" | F3 | ||
| + | | Moves to the next FIND result. | ||
| + | |- style="background-color:#ffefef;" | ||
| + | | style="font-family: monospace, monospace;" | Shift+F3 | ||
| + | | Moves to the previous FIND result. | ||
|} | |} | ||
Revision as of 14:12, 28 April 2020
Editor
Editor shortcuts
The following shortcuts are available in the Lua code editor:
| Navigation shortcuts | |
|---|---|
| Ctrl+Tab | Focus next section |
| Ctrl+Shift+Tab | Focus previous section |
| Selection shortcuts | |
|---|---|
| Ctrl+A | Select all text |
| Ctrl+Left click | Add cursors |
| Ctrl+Alt+Up | Extend custors up |
| Ctrl+Alt+Down | Extend custors down |
| Esc | Switch to one cursor |
| Ctrl+D | Select words at the cursor |
| Ctrl+L | Select next lines |
| Ctrl+Shift+L | Select previous lines |
| Ctrl+F | Opens the script editor's FIND dialog. |
| F3 | Moves to the next FIND result. |
| Shift+F3 | Moves to the previous FIND result. |
| Editing shortcuts | |
|---|---|
| Ctrl+] | Indent right |
| Ctrl+[ | Indent left |
| Ctrl+Shift+D | Duplicate |
| Ctrl+/ | Toggle selection comment |
| Alt+Backspace | Delete rest of the word left |
| Ctrl+Backspace | |
| Shift+Backspace | |
| Alt+Delete | Delete rest of the word right |
| Ctrl+Delete | |
| Shift+Delete | |