mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-06-30 05:10:37 +00:00
Fixes idesubs$ crashing when cursor is at symbol.
This commit is contained in:
parent
df90f7c558
commit
b71655d46c
|
@ -8617,6 +8617,7 @@ FUNCTION idesubs$
|
||||||
IF LEN(a2$) > 1 THEN
|
IF LEN(a2$) > 1 THEN
|
||||||
DO UNTIL alphanumeric(ASC(RIGHT$(a2$, 1)))
|
DO UNTIL alphanumeric(ASC(RIGHT$(a2$, 1)))
|
||||||
a2$ = LEFT$(a2$, LEN(a2$) - 1) 'removes sigil, if any
|
a2$ = LEFT$(a2$, LEN(a2$) - 1) 'removes sigil, if any
|
||||||
|
IF LEN(a2$) = 0 THEN EXIT DO
|
||||||
LOOP
|
LOOP
|
||||||
END IF
|
END IF
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue