浏览代码

Merge pull request #65974 from dzil123/highlight_types_incorrect

Rémi Verschelde 3 年之前
父节点
当前提交
713e83ecd7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/gdscript/editor/gdscript_highlighter.cpp

+ 1 - 1
modules/gdscript/editor/gdscript_highlighter.cpp

@@ -235,7 +235,7 @@ Map<int, TextEdit::HighlighterInfo> GDScriptSyntaxHighlighter::_get_line_syntax_
 			}
 		}
 
-		if (is_symbol) {
+		if (is_symbol && in_region == -1) {
 			if (in_function_name) {
 				in_function_args = true;
 			}