mirror of
https://github.com/QB64Official/qb64.git
synced 2024-07-05 01:50:25 +00:00
Center target line when searching (F3, Ctrl+F3, Alt+F3).
This commit is contained in:
parent
fc95dd4d9e
commit
b9e65ceca5
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue