|
From: Hrotkó G. <ro...@us...> - 2017-03-31 15:28:17
|
Please find the updated patch against rev. 24670 attached. Attachments: - [saveUntitled_170331.patch](https://sourceforge.net/p/jedit/patches/_discuss/thread/a58d230b/589f/attachment/saveUntitled_170331.patch) (21.7 kB; text/x-patch) --- ** [patches:#596] #501 Auto-save untitled buffers - patch** **Status:** pending-rejected **Group:** **Labels:** untitled autosave **Created:** Fri Feb 17, 2017 05:34 PM UTC by Hrotkó Gábor **Last Updated:** Mon Mar 27, 2017 11:23 PM UTC **Owner:** Alan Ezust **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 jed...@li... 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. |