summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/editor/gdscript_highlighter.h
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2022-06-26 21:33:13 +0200
committerkobewi <kobewi4e@gmail.com>2022-07-19 20:20:30 +0200
commitdf5655fdcac3525f7978f28bc9c6a6dd6dae896c (patch)
tree9f36bbf12d350b45d5ab91587df90032df167c30 /modules/gdscript/editor/gdscript_highlighter.h
parente37525896e0000feecf1d556c67b652b7e8da3da (diff)
downloadredot-engine-df5655fdcac3525f7978f28bc9c6a6dd6dae896c.tar.gz
Highlight ^NodePath and &StringName differently
Diffstat (limited to 'modules/gdscript/editor/gdscript_highlighter.h')
-rw-r--r--modules/gdscript/editor/gdscript_highlighter.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/gdscript/editor/gdscript_highlighter.h b/modules/gdscript/editor/gdscript_highlighter.h
index 92764e3891..7987582f07 100644
--- a/modules/gdscript/editor/gdscript_highlighter.h
+++ b/modules/gdscript/editor/gdscript_highlighter.h
@@ -54,7 +54,9 @@ private:
NONE,
REGION,
NODE_PATH,
+ NODE_REF,
ANNOTATION,
+ STRING_NAME,
SYMBOL,
NUMBER,
FUNCTION,
@@ -74,7 +76,9 @@ private:
Color number_color;
Color member_color;
Color node_path_color;
+ Color node_ref_color;
Color annotation_color;
+ Color string_name_color;
Color type_color;
void add_color_region(const String &p_start_key, const String &p_end_key, const Color &p_color, bool p_line_only = false);