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

Center target line when searching (F3, Ctrl+F3, Alt+F3).

This commit is contained in:
FellippeHeitor 2021-07-21 08:55:49 -03:00
parent fc95dd4d9e
commit b9e65ceca5

View file

@ -5461,6 +5461,7 @@ FUNCTION ide2 (ignore)
IF x THEN
ideselect = 1
idecx = x: idecy = y
idecentercurrentline
ideselectx1 = x + LEN(s$): ideselecty1 = y
found = 1
@ -8232,6 +8233,7 @@ SUB idefindagain (showFlags AS _BYTE)
IF idefindbackwards = 0 THEN idefindbackwards = 1 ELSE idefindbackwards = 0
idefindinvert = 0
END IF
idecentercurrentline
EXIT SUB
END IF