summaryrefslogtreecommitdiffstats
path: root/tools/editor/plugins/script_text_editor.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-09-11 12:27:14 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-09-11 12:27:14 -0300
commitc40ab446c9bcd5b28a073fea4113794bb701937b (patch)
tree5a60c7a2495b35ceb6257fa7f16efe76e84c278c /tools/editor/plugins/script_text_editor.cpp
parentb83350f4b2e968baac4d1551a6f21fe2e6b468ad (diff)
downloadredot-engine-c40ab446c9bcd5b28a073fea4113794bb701937b.tar.gz
Changed default assignment of shorcut for alt-left/right to history next/prev, which is more standard and useful.
Indent can be done with tab and shift-tab anyway. If you don't like this, feel free to reassign them manually in the editor settings :P
Diffstat (limited to 'tools/editor/plugins/script_text_editor.cpp')
-rw-r--r--tools/editor/plugins/script_text_editor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/plugins/script_text_editor.cpp b/tools/editor/plugins/script_text_editor.cpp
index 69f4c9d9a6..68b1042565 100644
--- a/tools/editor/plugins/script_text_editor.cpp
+++ b/tools/editor/plugins/script_text_editor.cpp
@@ -1206,8 +1206,8 @@ void ScriptTextEditor::register_editor() {
ED_SHORTCUT("script_text_editor/select_all", TTR("Select All"), KEY_MASK_CMD|KEY_A);
ED_SHORTCUT("script_text_editor/move_up", TTR("Move Up"), KEY_MASK_ALT|KEY_UP);
ED_SHORTCUT("script_text_editor/move_down", TTR("Move Down"), KEY_MASK_ALT|KEY_DOWN);
- ED_SHORTCUT("script_text_editor/indent_left", TTR("Indent Left"), KEY_MASK_ALT|KEY_LEFT);
- ED_SHORTCUT("script_text_editor/indent_right", TTR("Indent Right"), KEY_MASK_ALT|KEY_RIGHT);
+ ED_SHORTCUT("script_text_editor/indent_left", TTR("Indent Left"), 0);
+ ED_SHORTCUT("script_text_editor/indent_right", TTR("Indent Right"), 0);
ED_SHORTCUT("script_text_editor/toggle_comment", TTR("Toggle Comment"), KEY_MASK_CMD|KEY_K);
ED_SHORTCUT("script_text_editor/clone_down", TTR("Clone Down"), KEY_MASK_CMD|KEY_B);
#ifdef OSX_ENABLED