1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-06-29 09:20:38 +00:00

Tweaks highlighter to avoid var().element to be incorrectly colorized.

This commit is contained in:
FellippeHeitor 2020-01-01 11:57:33 -03:00
parent d1c3149528
commit 0dd718e1f5

View file

@ -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