chcg / NPP_HexEdit

Notepad++ Plugin Hexedit
821 stars 156 forks source link

Tries to modify a readonly file in some way when return to non-hex view? #40

Open sasumner opened 3 years ago

sasumner commented 3 years ago

I have a Pythonscript installed from startup.py that is set up to receive SCINTILLANOTIFICATION.MODIFYATTEMPTRO notifications. The callback for this puts a messagebox up if the user attempts to modify a readonly file.

If I use HexEditor plugin (0.9.8) to view a readonly file in hex, that is fine.
However, when I tell it to go back to normal (non-hex) view, it does it, but it also pops up my custom messagebox FOUR times.