Quote:
Originally Posted by User_Z
I think that saving your state before exiting, and subsequently restoring it at startup is the ability of the editor and not the operating system.
Sigil is written in Qt, and there are appropriate mechanisms for implementing this feature. For example, using the QSettings class.
|
Notepad++ allows you to close Notepad++ without being prompted to save unsaved files since it's text files are automatically backed up while Sigil prompts you to save before closing. Personally, I prefer Sigil's mechanism since it is entirely possible that I will open the epub in another program or send a copy back to the author for comment before—possibly—returning to Sigil to continue editing. It's a rather rare action for me to open the same epub twice in a row.
I currently have 17 text files open in Notepad++ for a total of 67KB. By contrast, the last epub I opened in Sigil was 49MB in it's zip container and contained 497 files and the epub I am currently working on close to 300MB but a large part of that size is due to the number of images. The time to save those 17 text files is rather short compared to the time required to stuff 332MB of files into a .zip container and repeating that action every time I make a change in any file.