1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-16 06:05:14 +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 IF checkKeyword$ = "-" OR checkKeyword$ = "." OR checkKeyword$ = "&" THEN
checkKeyword$ = "" checkKeyword$ = ""
ELSE ELSE
is_Number = -1 IF isnumber(checkKeyword$) THEN
isKeyword = LEN(checkKeyword$) is_Number = -1
isKeyword = LEN(checkKeyword$)
END IF
END IF END IF
GOTO setOldChar GOTO setOldChar
END IF END IF