aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/script_editor_plugin.cpp
diff options
context:
space:
mode:
authorPaulb232016-04-05 15:50:54 +0100
committerRémi Verschelde2016-06-04 22:20:02 +0200
commit86c0438f9d8c51688353445c4f9e566a87afd204 (patch)
tree3d6d7cfbb366165dbefb44f53509cde435473d8d /tools/editor/plugins/script_editor_plugin.cpp
parentd7e4fb4365cbbd8b17f386ed515a82575981788a (diff)
downloadgodot-86c0438f9d8c51688353445c4f9e566a87afd204.tar.gz
godot-86c0438f9d8c51688353445c4f9e566a87afd204.tar.zst
godot-86c0438f9d8c51688353445c4f9e566a87afd204.zip
Member variable syntax highlighting
(cherry picked from commit fc9f9adcb25cde432f888b8b29aee862eb0d8f95)
Diffstat (limited to '')
-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 2ee3f0623..4c8e0d1e0 100644
--- a/tools/editor/plugins/script_editor_plugin.cpp
+++ b/tools/editor/plugins/script_editor_plugin.cpp
@@ -297,6 +297,7 @@ void ScriptTextEditor::_load_theme_settings() {
get_text_edit()->add_color_override("word_highlighted_color",EDITOR_DEF("text_editor/word_highlighted_color",Color(0.8,0.9,0.9,0.15)));
get_text_edit()->add_color_override("number_color",EDITOR_DEF("text_editor/number_color",Color(0.9,0.6,0.0,2)));
get_text_edit()->add_color_override("function_color",EDITOR_DEF("text_editor/function_color",Color(0.4,0.6,0.8)));
+ get_text_edit()->add_color_override("member_variable_color",EDITOR_DEF("text_editor/member_variable_color",Color(0.9,0.3,0.3)));
Color keyword_color= EDITOR_DEF("text_editor/keyword_color",Color(0.5,0.0,0.2));