DownmarkerWPF
DownmarkerWPF copied to clipboard
Implement Recovery Feature
If markpad crashes, any open modified documents should be saved to the file system. On opening Markpad should check for these files, then prompt to recover.
It depends on when and where the crash is - there may not be a chance for 'clean shutdown' (OS crash, for example).
Should we have an auto-save-to-temp-file every minute or so, which can then be recovered?
Yeah.
- Autosave to recovery file every min
- Best effort to save on crash/force close.
- On startup, check temp location for existing files, maybe inject original file into yaml header of backup file.
Could use diff tool to accept backups changes (backup on left, actual on right). TortoiseMerge has a chocolatey install which puts it in the path, possible candidate for this.
Sent from my Windows Phone
From: Paul Jenkins Sent: 28/03/2012 7:49 AM To: Jake Ginnivan Subject: Re: [DownmarkerWPF] Implement Recovery Feature (#167)
It depends on when and where the crash is - there may not be a chance for 'clean shutdown' (OS crash, for example).
Should we have an auto-save-to-temp-file every minute or so, which can then be recovered?
Reply to this email directly or view it on GitHub: https://github.com/Code52/DownmarkerWPF/issues/167#issuecomment-4742887