diff options
author | VolTer <mew.pur.pur@abv.bg> | 2022-08-20 11:23:31 +0200 |
---|---|---|
committer | VolTer <mew.pur.pur@abv.bg> | 2022-08-25 17:00:16 +0200 |
commit | 88ad758b41c15158d732dc9b39ced6e5139aa832 (patch) | |
tree | 79d9a1877feeb5bd8326b15c818902f354170e79 /modules/gdscript/editor/gdscript_highlighter.h | |
parent | cfcdd576dd14fa98bc8404f4091f2f54eece3d87 (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.h | 4 |
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; |