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

Fixes selection of last character onscreen not looking selected.

This commit is contained in:
Fellippe Heitor 2021-02-09 16:51:49 -03:00
parent 35eac42235
commit e5f8aa23ce

View file

@ -8456,7 +8456,7 @@ SUB ideshowtext
IF sy1 = sy2 THEN 'single line select
COLOR 1, 7
x2 = idesx
FOR x = 2 + maxLineNumberLength TO (idewx - 2)
FOR x = 2 + maxLineNumberLength TO (idewx - 1)
IF x2 >= sx1 AND x2 < sx2 THEN
a = SCREEN(y + 3, x)
@ -8533,7 +8533,7 @@ SUB ideshowtext
IF sy1 = sy2 THEN 'single line select
COLOR 1, 7
x2 = idesx
FOR x = 2 + maxLineNumberLength TO (idewx - 2)
FOR x = 2 + maxLineNumberLength TO (idewx - 1)
IF x2 >= sx1 AND x2 < sx2 THEN
a = SCREEN(y + 3, x): _PRINTSTRING (x, y + 3), CHR$(a)
END IF