Browse Source

Fix URLs are not detected after a "Replace All" regression

Fix #14864, close #14889
pull/14894/head
molsonkiko 8 months ago committed by Don Ho
parent
commit
cccd99b791
  1. 2
      PowerEditor/src/NppBigSwitch.cpp

2
PowerEditor/src/NppBigSwitch.cpp

@ -3563,6 +3563,8 @@ LRESULT Notepad_plus::process(HWND hwnd, UINT message, WPARAM wParam, LPARAM lPa
case NPPM_INTERNAL_DOCMODIFIEDBYREPLACEALL: case NPPM_INTERNAL_DOCMODIFIEDBYREPLACEALL:
{ {
if (wParam == reinterpret_cast<WPARAM>(_pEditView->getCurrentBuffer()))
addHotSpot(_pEditView);
SCNotification scnN{}; SCNotification scnN{};
scnN.nmhdr.code = NPPN_GLOBALMODIFIED; scnN.nmhdr.code = NPPN_GLOBALMODIFIED;
scnN.nmhdr.hwndFrom = reinterpret_cast<void*>(wParam); scnN.nmhdr.hwndFrom = reinterpret_cast<void*>(wParam);

Loading…
Cancel
Save