Merge pull request #3131 from Hinsbart/missing_highlight

Add missing keyword highlights for Rect2 and NodePath.
This commit is contained in:
Rémi Verschelde 2015-12-24 10:42:23 +01:00
commit 0a8d20c8f7

View file

@ -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));