Browse Source
Add NPPN_GLOBALMODIFIED to notify plugins that the current document is just modified by Replace All action. //scnNotification->nmhdr.code = NPPN_GLOBALMODIFIED; //scnNotification->nmhdr.hwndFrom = BufferID; //scnNotification->nmhdr.idFrom = 0; // preserved for the future use, must be zero 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. Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/14685#issuecomment-1955229867 Fix #14767, close #14768pull/14778/head
Don Ho
9 months ago
6 changed files with 28 additions and 7 deletions
Loading…
Reference in new issue