You've already forked godot
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user