aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/script_editor_plugin.cpp
diff options
context:
space:
mode:
authorPaulb232016-03-21 15:45:38 +0000
committerRémi Verschelde2016-04-02 22:14:27 +0200
commit523625a3d16b1bcb084905f23327835c26bb17a4 (patch)
treeb1af300f81c8dc7f94fb2969673f90bcf6726518 /tools/editor/plugins/script_editor_plugin.cpp
parent5caf6ad8b910abfa4014e1a66d2417c590578639 (diff)
downloadgodot-523625a3d16b1bcb084905f23327835c26bb17a4.tar.gz
godot-523625a3d16b1bcb084905f23327835c26bb17a4.tar.zst
godot-523625a3d16b1bcb084905f23327835c26bb17a4.zip
Syntax highlighting for numbers
(cherry picked from commit c844c2d604ab7e8824659e1f6b6011039a552cbe)
Diffstat (limited to 'tools/editor/plugins/script_editor_plugin.cpp')
-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 376ba5274..782bb21cc 100644
--- a/tools/editor/plugins/script_editor_plugin.cpp
+++ b/tools/editor/plugins/script_editor_plugin.cpp
@@ -293,6 +293,7 @@ void ScriptTextEditor::_load_theme_settings() {
get_text_edit()->add_color_override("brace_mismatch_color",EDITOR_DEF("text_editor/brace_mismatch_color",Color(1,0.2,0.2)));
get_text_edit()->add_color_override("current_line_color",EDITOR_DEF("text_editor/current_line_color",Color(0.3,0.5,0.8,0.15)));
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)));
Color keyword_color= EDITOR_DEF("text_editor/keyword_color",Color(0.5,0.0,0.2));