From 76365ede588ac016bdc2ff236f282af5e266ff9b Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Mon, 10 Jun 2019 21:07:30 +0200 Subject: [PATCH] search & replace, set fovcus on doc after findNext prevent to go back to the editor when doing the following - CTRL+F (find using selection, focus is now on the search widget) - F3 (find match) => click was necessary to give focus again on the editor, e.g to DEL --- src/u_search.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/src/u_search.pas b/src/u_search.pas index 6f960f6a..6cf5d35b 100644 --- a/src/u_search.pas +++ b/src/u_search.pas @@ -539,6 +539,7 @@ begin fHasSearched := true; fHasRestarted := false; chkFromCur.Checked := true; + fDoc.setFocus; end; updateImperative; end;