summaryrefslogtreecommitdiff
path: root/modules/gdscript/editor/gdscript_highlighter.h
diff options
context:
space:
mode:
authorVolTer <mew.pur.pur@abv.bg>2022-08-20 11:23:31 +0200
committerVolTer <mew.pur.pur@abv.bg>2022-08-25 17:00:16 +0200
commit88ad758b41c15158d732dc9b39ced6e5139aa832 (patch)
tree79d9a1877feeb5bd8326b15c818902f354170e79 /modules/gdscript/editor/gdscript_highlighter.h
parentcfcdd576dd14fa98bc8404f4091f2f54eece3d87 (diff)
Added highlighting color for GDScript and GlobalScope functions
Diffstat (limited to 'modules/gdscript/editor/gdscript_highlighter.h')
-rw-r--r--modules/gdscript/editor/gdscript_highlighter.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/gdscript/editor/gdscript_highlighter.h b/modules/gdscript/editor/gdscript_highlighter.h
index f434d03a31..60b5b092d4 100644
--- a/modules/gdscript/editor/gdscript_highlighter.h
+++ b/modules/gdscript/editor/gdscript_highlighter.h
@@ -49,6 +49,7 @@ private:
HashMap<StringName, Color> keywords;
HashMap<StringName, Color> member_keywords;
+ HashSet<StringName> global_functions;
enum Type {
NONE,
@@ -67,10 +68,11 @@ private:
TYPE,
};
- // colours
+ // Colors.
Color font_color;
Color symbol_color;
Color function_color;
+ Color global_function_color;
Color function_definition_color;
Color built_in_type_color;
Color number_color;