Fix regression of double clicking a found in files result while Word-Wrap is on
Regression: Double click a found in files result while Word-Wrap is on, if file hasn't been opened, then file will be opened but Notepad++ doesn't go to the found word position. Fix #7865, close #7872
This commit is contained in:
parent
8fdfc4c2ac
commit
5d1dcc1253
@ -512,6 +512,7 @@ void Finder::gotoFoundLine()
|
|||||||
|
|
||||||
// Switch to another document
|
// Switch to another document
|
||||||
::SendMessage(::GetParent(_hParent), WM_DOOPEN, 0, reinterpret_cast<LPARAM>(fInfo._fullPath.c_str()));
|
::SendMessage(::GetParent(_hParent), WM_DOOPEN, 0, reinterpret_cast<LPARAM>(fInfo._fullPath.c_str()));
|
||||||
|
(*_ppEditView)->_positionRestoreNeeded = false;
|
||||||
Searching::displaySectionCentered(fInfo._start, fInfo._end, *_ppEditView);
|
Searching::displaySectionCentered(fInfo._start, fInfo._end, *_ppEditView);
|
||||||
|
|
||||||
// Then we colourise the double clicked line
|
// Then we colourise the double clicked line
|
||||||
|
Loading…
Reference in New Issue
Block a user