diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2015-12-24 10:42:23 +0100 |
---|---|---|
committer | Rémi Verschelde <remi@verschelde.fr> | 2015-12-24 10:42:23 +0100 |
commit | 0a8d20c8f795e4e5677d5cb3fd3e7f076932ead9 (patch) | |
tree | acdeced6f2c94cf72b6b731103fdca32885edd47 /tools/editor | |
parent | 380fe0bd529990f06df9dd831055fec979246b9c (diff) | |
parent | b431c88146b888d00d39ced082aff27841fbd5dc (diff) |
Merge pull request #3131 from Hinsbart/missing_highlight
Add missing keyword highlights for Rect2 and NodePath.
Diffstat (limited to 'tools/editor')
-rw-r--r-- | tools/editor/plugins/script_editor_plugin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/editor/plugins/script_editor_plugin.cpp b/tools/editor/plugins/script_editor_plugin.cpp index f22bd3d956..59f5d89073 100644 --- a/tools/editor/plugins/script_editor_plugin.cpp +++ b/tools/editor/plugins/script_editor_plugin.cpp @@ -316,6 +316,8 @@ void ScriptTextEditor::_load_theme_settings() { get_text_edit()->add_keyword_color("Color",basetype_color); get_text_edit()->add_keyword_color("Image",basetype_color); get_text_edit()->add_keyword_color("InputEvent",basetype_color); + get_text_edit()->add_keyword_color("Rect2",basetype_color); + get_text_edit()->add_keyword_color("NodePath",basetype_color); //colorize engine types Color type_color= EDITOR_DEF("text_editor/engine_type_color",Color(0.0,0.2,0.4)); |