diff options
| author | Rémi Verschelde | 2016-03-22 07:34:08 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2016-03-22 07:34:08 +0100 |
| commit | e8ee4f79734af75cb04c3220f83e8735d28dd6e7 (patch) | |
| tree | ca191f36c13275ef4722ee06e1519e27cbc99db1 /tools/editor/plugins/script_editor_plugin.cpp | |
| parent | 8c2771b6d5f0a50d8b7c9587da8116667d42e03a (diff) | |
| parent | c844c2d604ab7e8824659e1f6b6011039a552cbe (diff) | |
| download | godot-e8ee4f79734af75cb04c3220f83e8735d28dd6e7.tar.gz godot-e8ee4f79734af75cb04c3220f83e8735d28dd6e7.tar.zst godot-e8ee4f79734af75cb04c3220f83e8735d28dd6e7.zip | |
Merge pull request #4115 from Paulb23/number_syntax_highlighting
Syntax highlighting for numbers
Diffstat (limited to '')
| -rw-r--r-- | tools/editor/plugins/script_editor_plugin.cpp | 1 |
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 b03a9301b..4772583c5 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)); |
