From bd17c39172a5e3fd3e48b2090e115c41ba219751 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 8 Oct 2022 15:58:44 +0200 Subject: [PATCH] Ported Fix variables highlighting as types - dzil123 for CScript. --- modules/cscript/editor/cscript_highlighter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/cscript/editor/cscript_highlighter.cpp b/modules/cscript/editor/cscript_highlighter.cpp index f694d73b1..bb3ebad8b 100644 --- a/modules/cscript/editor/cscript_highlighter.cpp +++ b/modules/cscript/editor/cscript_highlighter.cpp @@ -235,7 +235,7 @@ Map CScriptSyntaxHighlighter::_get_line_syntax_h } } - if (is_symbol) { + if (is_symbol && in_region == -1) { if (in_function_name) { in_function_args = true; }