aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins
diff options
context:
space:
mode:
authorPaulb232016-09-12 15:19:30 +0100
committerRémi Verschelde2016-09-18 23:19:58 +0200
commit9b9870ed9f13cd9ed393c9497691ccd3f22a78a0 (patch)
treeb02f2d7b2dd654cc1efb82d7f5c8ca68dbb7284b /tools/editor/plugins
parenta72945f4e35fa726ccc6d2f3c99e9888b843a49e (diff)
downloadgodot-9b9870ed9f13cd9ed393c9497691ccd3f22a78a0.tar.gz
godot-9b9870ed9f13cd9ed393c9497691ccd3f22a78a0.tar.zst
godot-9b9870ed9f13cd9ed393c9497691ccd3f22a78a0.zip
Update current script color on change
(cherry picked from commit a0136838b36261f21e6bd692089f7904895e807d)
Diffstat (limited to 'tools/editor/plugins')
-rw-r--r--tools/editor/plugins/script_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/editor/plugins/script_editor_plugin.cpp b/tools/editor/plugins/script_editor_plugin.cpp
index cf575d8d0..9d3571a56 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));