summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-05-23 00:18:05 +0200
committerGitHub <noreply@github.com>2021-05-23 00:18:05 +0200
commit45d3b965bb55f3111478306070034ed18e8fa5e4 (patch)
tree5a1a1061cb5edff43310974ca36d363a7b41c910 /editor
parentde4c17f716acf0efe484a3f553ebd817fd4c256e (diff)
parent80f4e407b231bc19d0d2ef0aaaf9e3389f9a621d (diff)
Merge pull request #48739 from Calinou/textedit-add-select-word-under-cursor
Add a keyboard shortcut to select the word under cursor in TextEdit
Diffstat (limited to 'editor')
-rw-r--r--editor/plugins/script_text_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/script_text_editor.cpp b/editor/plugins/script_text_editor.cpp
index abb7a2d8a3..72a4bd8243 100644
--- a/editor/plugins/script_text_editor.cpp
+++ b/editor/plugins/script_text_editor.cpp
@@ -1896,7 +1896,7 @@ void ScriptTextEditor::register_editor() {
#ifdef OSX_ENABLED
ED_SHORTCUT("script_text_editor/clone_down", TTR("Clone Down"), KEY_MASK_SHIFT | KEY_MASK_CMD | KEY_C);
#else
- ED_SHORTCUT("script_text_editor/clone_down", TTR("Clone Down"), KEY_MASK_CMD | KEY_D);
+ ED_SHORTCUT("script_text_editor/clone_down", TTR("Clone Down"), KEY_MASK_SHIFT | KEY_MASK_CMD | KEY_D);
#endif
ED_SHORTCUT("script_text_editor/evaluate_selection", TTR("Evaluate Selection"), KEY_MASK_CMD | KEY_MASK_SHIFT | KEY_E);
ED_SHORTCUT("script_text_editor/trim_trailing_whitespace", TTR("Trim Trailing Whitespace"), KEY_MASK_CMD | KEY_MASK_ALT | KEY_T);