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

Fixes behavior of repeat search shortcuts.

This commit is contained in:
FellippeHeitor 2021-08-09 00:18:48 -03:00
parent 757ee19f2b
commit 934e555cf5

View file

@ -1769,6 +1769,7 @@ FUNCTION ide2 (ignore)
K$ = ""
IdeSystem = 2
IF LEN(idefindtext) THEN idesystem2.issel = -1: idesystem2.sx1 = 0: idesystem2.v1 = LEN(idefindtext)
GOTO specialchar
END IF
IF KCTRL AND UCASE$(K$) = "K" THEN
@ -2042,7 +2043,7 @@ FUNCTION ide2 (ignore)
IF IdeSystem = 2 THEN
a$ = idefindtext
IF LEN(K$) = 1 OR KB <> 0 THEN
IF LEN(K$) = 1 OR (KB = KEY_INSERT OR KB = KEY_DELETE) THEN
IF LEN(K$) = 1 THEN k = ASC(K$)
IF (KSHIFT AND KB = KEY_INSERT) OR (KCONTROL AND UCASE$(K$) = "V") THEN 'paste from clipboard
pasteIntoSearchField: