Skip to content

Commit

Permalink
Fix URLs are not detected after a "Replace All" regression
Browse files Browse the repository at this point in the history
  • Loading branch information
molsonkiko authored and donho committed Mar 21, 2024
1 parent d7011c4 commit cccd99b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions PowerEditor/src/NppBigSwitch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3563,6 +3563,8 @@ LRESULT Notepad_plus::process(HWND hwnd, UINT message, WPARAM wParam, LPARAM lPa

case NPPM_INTERNAL_DOCMODIFIEDBYREPLACEALL:
{
if (wParam == reinterpret_cast<WPARAM>(_pEditView->getCurrentBuffer()))
addHotSpot(_pEditView);
SCNotification scnN{};
scnN.nmhdr.code = NPPN_GLOBALMODIFIED;
scnN.nmhdr.hwndFrom = reinterpret_cast<void*>(wParam);
Expand Down

0 comments on commit cccd99b

Please sign in to comment.