PythonScript icon indicating copy to clipboard operation
PythonScript copied to clipboard

Unavailability of some "modified" notifications as of Npp 8.7.6

Open Ekopalypse opened this issue 11 months ago • 1 comments

@chcg

Due to the changes starting with Npp 8.7.6, PS will no longer automatically receive all “modified” messages provided by Scintilla. How should PS behave in this regard?

Possibility 1: automatically re-request the missing notifications in NPPN_READY for everyone?

Possibility 2: there is a new flag that requests the notifications on next Npp start after it has been set by the user?

The only difference I see at the moment is that the users who are affected by this will have to set another checkmark in the configuration after the PS update, but everyone else who doesn't need it might have a performance advantage.

So what is to be done?

See here for the announcement.

Ekopalypse avatar Jan 31 '25 18:01 Ekopalypse

Due to the recent changes, NPPM_ADDSCNMODIFIEDFLAGS can now be used at any time, and therefore I think that providing the message is sufficient and the users who always want to have this enabled can call it in their startup.py.

Ekopalypse avatar Feb 01 '25 10:02 Ekopalypse

available with https://github.com/bruderstein/PythonScript/releases/tag/v3.0.22 by PR #376

chcg avatar Apr 08 '25 06:04 chcg