From b69c36b55fab43d9aaf3c159d9410a0cede1f218 Mon Sep 17 00:00:00 2001 From: Christophe Meriaux Date: Wed, 23 May 2018 21:14:54 +0200 Subject: [PATCH] Make carret line always visible on click from Finder panel Close #4518, fix #4510 --- PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp b/PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp index 71af2d4a5..96161607e 100644 --- a/PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp +++ b/PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp @@ -2197,6 +2197,7 @@ void FindReplaceDlg::findAllIn(InWhat op) _pFinder->_scintView.execute(SCI_USEPOPUP, FALSE); _pFinder->_scintView.execute(SCI_SETUNDOCOLLECTION, false); //dont store any undo information _pFinder->_scintView.execute(SCI_SETCARETLINEVISIBLE, 1); + _pFinder->_scintView.execute(SCI_SETCARETLINEVISIBLEALWAYS, true); _pFinder->_scintView.execute(SCI_SETCARETWIDTH, 0); _pFinder->_scintView.showMargin(ScintillaEditView::_SC_MARGE_FOLDER, true); @@ -2288,6 +2289,7 @@ Finder * FindReplaceDlg::createFinder() pFinder->_scintView.execute(SCI_USEPOPUP, FALSE); pFinder->_scintView.execute(SCI_SETUNDOCOLLECTION, false); //dont store any undo information pFinder->_scintView.execute(SCI_SETCARETLINEVISIBLE, 1); + pFinder->_scintView.execute(SCI_SETCARETLINEVISIBLEALWAYS, true); pFinder->_scintView.execute(SCI_SETCARETWIDTH, 0); pFinder->_scintView.showMargin(ScintillaEditView::_SC_MARGE_FOLDER, true);