mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-27 07:44:24 +02:00
Improve the code example of new API NPPM_ADDSCNMODIFIEDFLAGS
Fix https://community.notepad-plus-plus.org/topic/26595/new-api-to-fix-eventual-regression-regarding-scn_modified-for-some-plugins/9?_=1738384417702
This commit is contained in:
parent
6fd3830b42
commit
80319a71ee
@ -1007,8 +1007,8 @@ enum Platform { PF_UNKNOWN, PF_X86, PF_X64, PF_IA64, PF_ARM64 };
|
|||||||
// {
|
// {
|
||||||
// case NPPN_READY:
|
// case NPPN_READY:
|
||||||
// {
|
// {
|
||||||
// // Add SC_MOD_DELETETEXT and SC_MOD_INSERTTEXT notifications
|
// // Add SC_MOD_BEFOREDELETE and SC_MOD_BEFOREINSERT to listen to the 2 events of SCN_MODIFIED
|
||||||
// ::SendMessage(nppData._nppHandle, NPPM_ADDSCNMODIFIEDFLAGS, 0, SC_MOD_DELETETEXT | SC_MOD_INSERTTEXT);
|
// ::SendMessage(nppData._nppHandle, NPPM_ADDSCNMODIFIEDFLAGS, 0, SC_MOD_BEFOREDELETE | SC_MOD_BEFOREINSERT);
|
||||||
// }
|
// }
|
||||||
// break;
|
// break;
|
||||||
// ...
|
// ...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user