1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Add special coloring to members, to make shadowing more obvious.

This commit is contained in:
Juan Linietsky
2018-01-12 11:00:41 -03:00
parent ab9f7f4fc2
commit 419705db6e
4 changed files with 66 additions and 0 deletions

View File

@@ -44,6 +44,8 @@ class ScriptTextEditor : public ScriptEditorBase {
Vector<String> functions;
Vector<String> member_keywords;
HBoxContainer *edit_hb;
MenuButton *edit_menu;
@@ -58,6 +60,8 @@ class ScriptTextEditor : public ScriptEditorBase {
int color_line;
String color_args;
void _update_member_keywords();
struct ColorsCache {
Color symbol_color;
Color keyword_color;