Hrotkó Gábor
2017-02-17 17:34:52 UTC
---
** [patches:#596] #501 Auto-save untitled buffers - patch**
**Status:** open
**Group:**
**Labels:** untitled autosave
**Created:** Fri Feb 17, 2017 05:34 PM UTC by Hrotkó Gábor
**Last Updated:** Fri Feb 17, 2017 05:34 PM UTC
**Owner:** nobody
**Attachments:**
- [saveUntitled.patch](https://sourceforge.net/p/jedit/patches/596/attachment/saveUntitled.patch) (22.0 kB; text/x-patch)
I created a patch for the feature request: "#501 Auto-save untitled buffers".
Altough the settings "Autosave untitled buffers" exists, but not working like described in the feature request.
My patch extends this feature, when "Autosave untitled buffers" checked (default):
- the untitled buffers will be autosaved when closing jedit, without a question prompt
- the autosave for an untitled buffer saved to <jedit_settings_dir>/autosave, and reloaded after a restart (the state persisted to the perspective.xml)
- closing an untitled buffer by hand removes the autosave file
Tested on windows7 and linux also.
The patch is against revision 24609.
Please review.
Thanks!
---
Sent from sourceforge.net because jedit-***@lists.sourceforge.net is subscribed to https://sourceforge.net/p/jedit/patches/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jedit/admin/patches/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
** [patches:#596] #501 Auto-save untitled buffers - patch**
**Status:** open
**Group:**
**Labels:** untitled autosave
**Created:** Fri Feb 17, 2017 05:34 PM UTC by Hrotkó Gábor
**Last Updated:** Fri Feb 17, 2017 05:34 PM UTC
**Owner:** nobody
**Attachments:**
- [saveUntitled.patch](https://sourceforge.net/p/jedit/patches/596/attachment/saveUntitled.patch) (22.0 kB; text/x-patch)
I created a patch for the feature request: "#501 Auto-save untitled buffers".
Altough the settings "Autosave untitled buffers" exists, but not working like described in the feature request.
My patch extends this feature, when "Autosave untitled buffers" checked (default):
- the untitled buffers will be autosaved when closing jedit, without a question prompt
- the autosave for an untitled buffer saved to <jedit_settings_dir>/autosave, and reloaded after a restart (the state persisted to the perspective.xml)
- closing an untitled buffer by hand removes the autosave file
Tested on windows7 and linux also.
The patch is against revision 24609.
Please review.
Thanks!
---
Sent from sourceforge.net because jedit-***@lists.sourceforge.net is subscribed to https://sourceforge.net/p/jedit/patches/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jedit/admin/patches/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.