diff options
author | PucklaMotzer09 <jonaas.pucher000000@gmail.com> | 2022-09-28 17:09:45 +0200 |
---|---|---|
committer | PucklaJ <jonaas.pucher000000@gmail.com> | 2023-09-25 23:41:31 +0200 |
commit | d2e651f403b7f583a66e37ef0331362ad70fd1c3 (patch) | |
tree | 9713b2ebebd061732618e1e3a817388976ca7d47 /editor/plugins/script_text_editor.h | |
parent | 43b9e89a07bb0926fb66bddbf98981d25a5cccee (diff) | |
download | redot-engine-d2e651f403b7f583a66e37ef0331362ad70fd1c3.tar.gz |
Add Duplicate Lines shortcut to CodeTextEditor
This keyboard shortcut has been made with inspiration from the VS Code keyboard shortcut editor.action.copyLinesDownAction. It duplicates all selected lines and inserts them below no matter where the caret is within the line.
Diffstat (limited to 'editor/plugins/script_text_editor.h')
-rw-r--r-- | editor/plugins/script_text_editor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/script_text_editor.h b/editor/plugins/script_text_editor.h index 0efe7d54e3..8c0ba6d7e6 100644 --- a/editor/plugins/script_text_editor.h +++ b/editor/plugins/script_text_editor.h @@ -126,6 +126,7 @@ class ScriptTextEditor : public ScriptEditorBase { EDIT_UNINDENT, EDIT_DELETE_LINE, EDIT_DUPLICATE_SELECTION, + EDIT_DUPLICATE_LINES, EDIT_PICK_COLOR, EDIT_TO_UPPERCASE, EDIT_TO_LOWERCASE, |