Undo preserving file's mtime
-
Hi,
at least for a tought, should file changes completely undone change tile’s mtime (last modification date&time) back to the state before?
While WORKING with that file (i.e. keeping open) it’s possibly not a good idea as Makefiles and similar tools may break to unexpected or uncommon behaviour.
However, on CLOSING FILE, it would be good when there is an option to set back the mtime to the value before undone changes are done. In extreme case, when undoing ALL changes, file’s mtime should be set back as if file has never been touched. -
moderator aside:
Does this “thought” really need a separate discussion from your other two topics? All three of your topics are, to my mind, about essentially the same thing – the mtime/ctime of a file, and how Notepad++ interacts with it (both in deciding whether document-has-been-changed and in how Notepad++ sets one or both of those times). If they are really all related, please keep everything in one of the existing topics, instead of creating a new topic for each thought. It makes it really hard to follow, and hides the fact that other people have replied to other of your thoughts, so eliminates or obfuscates context.
Let me know which of the three you want as the “parent” conversation, and I can merge them all into one, unless you really believe they are completely distinct conversations which don’t rely on each other for context.