Godot Engine – Multi-platform 2D and 3D game engine
Merge pull request #121692 from boycher/script-editor-move-shortcut-rename
Thaddeus Crews3b407d8365be
diff --cc editor/script/script_editor_plugin.cppindex 52f4a083009,4d09606a1cd..ca48143db53--- a/editor/script/script_editor_plugin.cpp+++ b/editor/script/script_editor_plugin.cpp@@@ -3147,10 -3137,15 +3147,10 @@@ void ScriptEditor::shortcut_input(consaccept_event();}if (ED_IS_SHORTCUT("script_editor/prev_script", p_event)) {- if (script_list->get_item_count() > 1) {- int next_tab = script_list->get_current() - 1;- next_tab = next_tab >= 0 ? next_tab : script_list->get_item_count() - 1;- _go_to_tab(script_list->get_item_metadata(next_tab), true);- _update_script_names();- }+ document_list->goto_next_document(true);accept_event();}- if (ED_IS_SHORTCUT("script_editor/window_move_up", p_event)) {+ if (ED_IS_SHORTCUT("script_editor/move_document_up", p_event)) {_menu_option(FILE_MENU_MOVE_UP);accept_event();}