Detect external changes tweak
-
N++ is great at detecting external change to a document being edited, when you switch to N++ from another app. It says if the document has been changed, offers to reload it, and lets you know if you have typed anything that would be lost.
But none of this happens if you are in N++ editing that document and don’t switch away.
eg. start editing abc.txt, type various things, meanwhile some other app makes changes to abc.txt, then you eventually get around to pressing save. Your changes are saved ok, but whatever the other app added is lost.
If, before pressing save, you had switched away from N++ then back, you would have been informed of what was about to happen.
To me it seems easily solved. Make a note of the timestamp of the file as its opened. When you press save, check the timestamp hasn’t changed and if it has, inform the user so once again, they can choose to reload/lose their changes etc. -
Sounds like a feature request to me.
-
Sounds like a scary scenario to me.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login