Open andyvn22 opened 2 years ago
Well, the difference here currently is subtle. Due to a user request we do persist untitled documents no matter what since 5.2.2 - If you feel strongly against that we could add an additional option to the prefs to disable that behavior again. But It is quite handy for those temporary things we use it for, e.g. piping stuff in through the see
tool or just command-n and paste for some temporary things we want to have around for a while.
BBEdit even has a special feature to give those things meaningful names to keep around for a while.
This is potentially a serious privacy/security concern since a user might temporarily type/paste sensitive information and then quit SubEthaEdit, without knowing that the sensitive data has been saved.
So it would be great if there was an option for the user to disable the autosave/persistence behavior and have SubEthaEdit respect the macOS system settings.
If the system preference "Close windows when quitting app" is enabled (in the General pane), SubEthaEdit should prompt on quit to save a dirty document, rather than persisting it between launches.