The main feature of this release is Session snapshot & periodic backup.
If this feature is enabled, on startup Notepad++ does not only open the saved opened files, but also restore the unsaved file and unsaved untitled document of last session. And user won't be asked to save unsaved file as he quits Notepad++.
This feature brings an advantage - periodic backup of unsaved files which protects your data from the PC crashing or power outage.
"And user won't be asked to save unsaved file as he quits Notepad++."
There is a small problem with this. When the option "MISC. > Remember current session for next launch" is not activated, Notepad++ does not ask to save unsaved files or new tabs with content to be saved. So while this option is disabled, all unsaved changes get lost very easily.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
the proper saving procedure is to backup periodically but not to the actual file till you save the file. if it does crash/shutdown unexpectedly then the backup will reload over the current file and leave the tab in an unsaved state. upon close it should still ask the user to save unsaved changes.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
v6.6 Release Candidate is available to download here:
http://notepad-plus-plus.org/tmp/6.6.RC.zip
The main feature of this release is Session snapshot & periodic backup.
If this feature is enabled, on startup Notepad++ does not only open the saved opened files, but also restore the unsaved file and unsaved untitled document of last session. And user won't be asked to save unsaved file as he quits Notepad++.
This feature brings an advantage - periodic backup of unsaved files which protects your data from the PC crashing or power outage.
It'll be the default behaviour, but user can always turn it off to get back the old behaviour:
http://notepad-plus-plus.org/tmp/sessionSnapshot.png
Note that the version number and change log in 6.6.RC.zip are not updated yet.
Please let me know if you find any critical bug, otherwise v6.6 will be releaseed in 4 days.
I don't think the situation when NPP is deliberately closed is analogous to situations where the machine closes down or the power cuts off.
Therefore I think the default option should leave the protection in place, but warn in the traditional way when the editor is closed.
The added code for the management of session snapshot & periodic backup feature is quite complex, so for the moment let's keep 2 behaviours separated.
Don
There is a small problem with this. When the option "MISC. > Remember current session for next launch" is not activated, Notepad++ does not ask to save unsaved files or new tabs with content to be saved. So while this option is disabled, all unsaved changes get lost very easily.
the proper saving procedure is to backup periodically but not to the actual file till you save the file. if it does crash/shutdown unexpectedly then the backup will reload over the current file and leave the tab in an unsaved state. upon close it should still ask the user to save unsaved changes.
Thank you for the crash report.
The crash has been fixed:
https://sourceforge.net/p/notepad-plus/discussion/331753/thread/d9b66708/
Don
Nice point! It's fixed in the 2nd 6.6 RC.
https://sourceforge.net/p/notepad-plus/discussion/331753/thread/d9b66708/
Don
Last edit: Don HO 2014-04-24
This version crashed on me almost every time I triggered a manual file save via Ctrl+S.
The crash issue has been fixed in the 2nd RC:
https://sourceforge.net/p/notepad-plus/discussion/331753/thread/d9b66708/
Don