aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/shader_editor_plugin.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2014-12-17 01:53:34 -0300
committerJuan Linietsky2014-12-17 01:53:34 -0300
commitc8b2a5f64a44484b566bc1e2aa12aa36850f107e (patch)
tree2b4940b67aa018161e5d55887a3334c696752d24 /tools/editor/plugins/shader_editor_plugin.cpp
parentfd4648c081afa565cb20c923c4e3c94d88e71e4f (diff)
downloadgodot-c8b2a5f64a44484b566bc1e2aa12aa36850f107e.tar.gz
godot-c8b2a5f64a44484b566bc1e2aa12aa36850f107e.tar.zst
godot-c8b2a5f64a44484b566bc1e2aa12aa36850f107e.zip
-added brace matching to go with the new code completion
Diffstat (limited to 'tools/editor/plugins/shader_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/shader_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/editor/plugins/shader_editor_plugin.cpp b/tools/editor/plugins/shader_editor_plugin.cpp
index a6172ee09..3166383fc 100644
--- a/tools/editor/plugins/shader_editor_plugin.cpp
+++ b/tools/editor/plugins/shader_editor_plugin.cpp
@@ -80,6 +80,7 @@ void ShaderTextEditor::_load_theme_settings() {
get_text_edit()->add_color_override("font_color",EDITOR_DEF("text_editor/text_color",Color(0,0,0)));
get_text_edit()->add_color_override("font_selected_color",EDITOR_DEF("text_editor/text_selected_color",Color(1,1,1)));
get_text_edit()->add_color_override("selection_color",EDITOR_DEF("text_editor/selection_color",Color(0.2,0.2,1)));
+ get_text_edit()->add_color_override("brace_mismatch_color",EDITOR_DEF("text_editor/brace_mismatch_color",Color(1,0.2,0.2)));
Color keyword_color= EDITOR_DEF("text_editor/keyword_color",Color(0.5,0.0,0.2));