From 0dd718e1f53fcb42bf678f9bc15becd3081e21e0 Mon Sep 17 00:00:00 2001 From: FellippeHeitor Date: Wed, 1 Jan 2020 11:57:33 -0300 Subject: [PATCH] Tweaks highlighter to avoid var().element to be incorrectly colorized. --- source/ide/ide_methods.bas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ide/ide_methods.bas b/source/ide/ide_methods.bas index e8f1907bb..4ec532aff 100644 --- a/source/ide/ide_methods.bas +++ b/source/ide/ide_methods.bas @@ -8727,7 +8727,7 @@ SUB ideshowtext COLOR 13 IF (LEN(oldChar$) > 0 OR m = 1) AND inquote = 0 AND isKeyword = 0 THEN - IF INSTR(initialNum.char$, thisChar$) > 0 AND (INSTR(char.sep$, oldChar$) > 0 OR oldChar$ = "?") THEN + IF INSTR(initialNum.char$, thisChar$) > 0 AND oldChar$ <> ")" AND (INSTR(char.sep$, oldChar$) > 0 OR oldChar$ = "?") THEN 'a number literal checkKeyword$ = "" is_Number = 0