mirror of
https://github.com/godotengine/godot.git
synced 2025-10-30 05:01:10 +00:00
Function syntax highlighting
This commit is contained in:
parent
0a5472e697
commit
50aa78210c
4 changed files with 22 additions and 0 deletions
|
|
@ -294,6 +294,7 @@ void ScriptTextEditor::_load_theme_settings() {
|
|||
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)));
|
||||
get_text_edit()->add_color_override("function_color",EDITOR_DEF("text_editor/function_color",Color(0.4,0.6,0.8)));
|
||||
|
||||
Color keyword_color= EDITOR_DEF("text_editor/keyword_color",Color(0.5,0.0,0.2));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue