Auto save queries and edit history #13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Save changes often and remember history of changes so query isn't lost on crash.
Changes can be tracked by using the void QTextDocument::contentsChange(int position, int charsRemoved, int charsAdded) signal. If we make copy of original file and replay these changes we can replay them in case of a crash. Would probably be a good idea to flush these changes to a backup file very x minutes or amount of changes.
We also need a list of open documents. For each document:
Folder contains
-- snapshot.000-999
-- change.log
Make shure to write new files always to temp name then rename current to old and new to current, then remove old.
changed milestone to %1
removed milestone
changed the description