speising wrote:What made me really mad about N++ is that by default, it doesn't warn you if you close it with a changed document open that is still unsaved. Of course, it will open it on its next start again, with your edits.
But that doesn't help you a lot if you expect those scripts you just wrote to work.
Rather than just powering the machine down at the wall have you you tried
File >> Close,
the window close icon, or
All of those (apart from the wall-switch one) warn me about unsaved files in N++.