Make carret line always visible on click from Finder panel

Close #4518, fix #4510
This commit is contained in:
Christophe Meriaux 2018-05-23 21:14:54 +02:00 committed by Don HO
parent 26a3af946d
commit b69c36b55f

View File

@ -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);