From 9b9870ed9f13cd9ed393c9497691ccd3f22a78a0 Mon Sep 17 00:00:00 2001 From: Paulb23 Date: Mon, 12 Sep 2016 15:19:30 +0100 Subject: [PATCH] Update current script color on change (cherry picked from commit a0136838b36261f21e6bd692089f7904895e807d) --- tools/editor/plugins/script_editor_plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/editor/plugins/script_editor_plugin.cpp b/tools/editor/plugins/script_editor_plugin.cpp index cf575d8d088..9d3571a56ad 100644 --- a/tools/editor/plugins/script_editor_plugin.cpp +++ b/tools/editor/plugins/script_editor_plugin.cpp @@ -2418,6 +2418,7 @@ void ScriptEditor::_editor_settings_changed() { ste->get_text_edit()->set_draw_breakpoint_gutter(EditorSettings::get_singleton()->get("text_editor/show_breakpoint_gutter")); ste->get_text_edit()->cursor_set_block_mode(EditorSettings::get_singleton()->get("text_editor/block_caret")); } + _update_script_colors(); ScriptServer::set_reload_scripts_on_save(EDITOR_DEF("text_editor/auto_reload_and_parse_scripts_on_save",true));