mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-01 12:40:36 +00:00
Indicates visually that only the last metacommand is valid.
Since multiple $INCLUDE, $DYNAMIC and $STATIC are valid in a comment line, but only the last occurrence is valid, the syntax highlighter now indicates that too.
This commit is contained in:
parent
d09c27c933
commit
af2752602f
|
@ -8445,8 +8445,8 @@ SUB ideshowtext
|
|||
|
||||
IF comment THEN
|
||||
COLOR 11
|
||||
IF metacommand AND (checkKeyword$ = "$INCLUDE" OR checkKeyword$ = "$DYNAMIC" _
|
||||
OR checkKeyword$ = "$STATIC") THEN COLOR 10
|
||||
IF metacommand AND ((checkKeyword$ = "$INCLUDE" OR checkKeyword$ = "$DYNAMIC" _
|
||||
OR checkKeyword$ = "$STATIC") AND INSTR(m + 1, UCASE$(a2$), checkKeyword$) = 0) THEN COLOR 10
|
||||
ELSEIF metacommand THEN
|
||||
COLOR 10
|
||||
ELSEIF inquote OR thisChar$ = CHR$(34) THEN
|
||||
|
|
Loading…
Reference in a new issue