1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-06-26 17:10:38 +00:00

Fixes syntax highlighter for corner case non-numbers being colorized.

This commit is contained in:
FellippeHeitor 2020-06-14 00:33:05 -03:00
parent d4ef195bd1
commit 8f19321c06

View file

@ -8657,8 +8657,10 @@ SUB ideshowtext
IF checkKeyword$ = "-" OR checkKeyword$ = "." OR checkKeyword$ = "&" THEN
checkKeyword$ = ""
ELSE
is_Number = -1
isKeyword = LEN(checkKeyword$)
IF isnumber(checkKeyword$) THEN
is_Number = -1
isKeyword = LEN(checkKeyword$)
END IF
END IF
GOTO setOldChar
END IF