Colorize Rect2 and NodePath in script editor

This commit is contained in:
hondres 2015-12-24 04:17:22 +01:00
parent 380fe0bd52
commit b431c88146
1 changed files with 2 additions and 0 deletions

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