diff options
| author | Rémi Verschelde | 2017-12-07 09:17:49 +0100 |
|---|---|---|
| committer | GitHub | 2017-12-07 09:17:49 +0100 |
| commit | 5e19fac9872e8ba24a65bf6f9de2fdf9fa360358 (patch) | |
| tree | 5ed76a3bc9e4d781232ad47df815505a09b17c59 /editor/plugins/script_text_editor.cpp | |
| parent | 624a2b08f362d0ec74cd617890b1a4c9de6b0d96 (diff) | |
| parent | 94adf247986cd31b41e339948bc354da525749bd (diff) | |
| download | godot-5e19fac9872e8ba24a65bf6f9de2fdf9fa360358.tar.gz godot-5e19fac9872e8ba24a65bf6f9de2fdf9fa360358.tar.zst godot-5e19fac9872e8ba24a65bf6f9de2fdf9fa360358.zip | |
Merge pull request #14368 from sersoong/master-addoaandscript
Add uppercase and lowercase to rightclickmenu in scripteditor
Diffstat (limited to 'editor/plugins/script_text_editor.cpp')
| -rw-r--r-- | editor/plugins/script_text_editor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/plugins/script_text_editor.cpp b/editor/plugins/script_text_editor.cpp index 3a443e1bf..3c5bc7ac3 100644 --- a/editor/plugins/script_text_editor.cpp +++ b/editor/plugins/script_text_editor.cpp @@ -1509,6 +1509,8 @@ void ScriptTextEditor::_make_context_menu(bool p_selection, bool p_color, bool p if (p_selection) { context_menu->add_separator(); + context_menu->add_shortcut(ED_GET_SHORTCUT("script_text_editor/convert_to_uppercase"), EDIT_TO_UPPERCASE); + context_menu->add_shortcut(ED_GET_SHORTCUT("script_text_editor/convert_to_lowercase"), EDIT_TO_LOWERCASE); context_menu->add_shortcut(ED_GET_SHORTCUT("script_text_editor/indent_left"), EDIT_INDENT_LEFT); context_menu->add_shortcut(ED_GET_SHORTCUT("script_text_editor/indent_right"), EDIT_INDENT_RIGHT); context_menu->add_shortcut(ED_GET_SHORTCUT("script_text_editor/toggle_comment"), EDIT_TOGGLE_COMMENT); |
