Skip to content

Commit

Permalink
Change new notification value
Browse files Browse the repository at this point in the history
  • Loading branch information
donho committed Feb 21, 2024
1 parent d0db285 commit 47adea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PowerEditor/src/MISC/PluginsManager/Notepad_plus_msgs.h
Original file line number Diff line number Diff line change
Expand Up @@ -1173,7 +1173,7 @@ enum Platform { PF_UNKNOWN, PF_X86, PF_X64, PF_IA64, PF_ARM64 };
//scnNotification->nmhdr.hwndFrom = hwndNpp;
//scnNotification->nmhdr.idFrom = BufferID; //where pluginMessage is pointer of type wchar_t

#define NPPN_GLOBALMODIFIED (NPPN_FIRST + 29) // To notify plugins that the current document is just modified by Replace All action. For solving the performance issue (from v8.6.4),
#define NPPN_GLOBALMODIFIED (NPPN_FIRST + 30) // To notify plugins that the current document is just modified by Replace All action. For solving the performance issue (from v8.6.4),
// Notepad++ doesn't trigger SCN_MODIFIED & other Scitilla notifications during Replace All action anymore.
// Plugin devs should monitor NPPN_GLOBALMODIFIED instead. This notification is implemented in Notepad++ v8.6.5.
//scnNotification->nmhdr.code = NPPN_DOCMODIFIEDBYREPLACEALL;
Expand Down

0 comments on commit 47adea8

Please sign in to comment.