mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-22 11:25:08 +00:00
Fixes syntax highlighter for corner case non-numbers being colorized.
This commit is contained in:
parent
d4ef195bd1
commit
8f19321c06
1 changed files with 4 additions and 2 deletions
|
@ -8657,9 +8657,11 @@ SUB ideshowtext
|
||||||
IF checkKeyword$ = "-" OR checkKeyword$ = "." OR checkKeyword$ = "&" THEN
|
IF checkKeyword$ = "-" OR checkKeyword$ = "." OR checkKeyword$ = "&" THEN
|
||||||
checkKeyword$ = ""
|
checkKeyword$ = ""
|
||||||
ELSE
|
ELSE
|
||||||
|
IF isnumber(checkKeyword$) THEN
|
||||||
is_Number = -1
|
is_Number = -1
|
||||||
isKeyword = LEN(checkKeyword$)
|
isKeyword = LEN(checkKeyword$)
|
||||||
END IF
|
END IF
|
||||||
|
END IF
|
||||||
GOTO setOldChar
|
GOTO setOldChar
|
||||||
END IF
|
END IF
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue