Go back to an earlier version of a scene
Leafbind keeps a history of every scene: both the prose and the fields in its properties, such as the synopsis and status. You never have to remember to save a version.
Find a scene’s versions
Section titled “Find a scene’s versions”Open the scene, then open the properties panel with Ctrl+Shift+T. Versions is at the bottom of the panel, newest first. Expand opens them in a larger window.
Filter the list with All, Prose, Synopsis or Fields. A few versions carry a note saying why they exist, such as Edited in another app or Restored an earlier version. Not kept when two versions differed and Kept when two versions differed are the two sides of a choice you made when the scene had changed in two places. See When a scene changed in two places.
When a version is recorded
Section titled “When a version is recorded”- When you pause in your writing, provided enough has changed since the last version.
- Every ten minutes while you keep writing.
- Whenever you save, switch to another scene or another app, close the project, or quit.
- When you change a field in the properties panel.
- When the scene changes in another app, such as a text editor. The change becomes a version of its own, marked Edited in another app, at the time the file was changed. A change made while Leafbind was closed is recorded the next time you open the project, so your next version holds only what you wrote.
The same text is never recorded twice.
Leafbind waits about three minutes before it records a change from another app, and up to fifteen while Leafbind on another computer is writing in the same book, because that computer records its own versions. If you start writing in the scene first, the change is recorded at once, before yours. The words it brought count as written outside Leafbind on the progress dashboard, not as your typing.
See what changed
Section titled “See what changed”Click a version to see What changed here: that version compared with the one before it. Fields are shown in a table, and the prose word by word, with unchanged paragraphs folded away.
It compares each version with the one before it, not with your text as it is now. To see how your scene would change if you went back to that version, switch to Compared with now.
Name the versions that matter
Section titled “Name the versions that matter”Give a version a name, such as end of first draft, with Name this version. When you change a scene’s Status, the version is named after the new status for you.
Named versions are never removed, whatever you choose under Keep history small below.
Go back to a version
Section titled “Go back to a version”Going back to a version undoes every change made after it, not just that version’s own change. So Leafbind shows you the result against your text as it is now before you commit.
- Pick the version, click Expand if the list is still in the side panel, and switch to Compared with now.
- Choose what to bring back:
- Prose only brings back the text and keeps today’s fields;
- Fields only brings back the fields and keeps today’s text;
- Whole scene brings back both.
- Read the difference. Leafbind says how many later versions it undoes, and how many words the prose has before and after. The versions it would undo are dimmed in the list.
- Choose Go back to this version, and confirm.
Nothing you have now is lost. Your current text is saved as a version first, and going back is recorded as a new version, so you can return to where you were the same way.
You cannot go back on a locked scene. Unlock it first.
See how the manuscript’s order changed
Section titled “See how the manuscript’s order changed”Every time you reorder the manuscript — dragging a scene, adding or removing a folder — Leafbind records the new order too. Click History at the top of the manuscript tree to see them.
Pick a version to see What changed here: which scenes moved, from where to where, above the whole outline as it stood, with the moved scenes marked. Compared with now shows everything that has moved since that version.
This history is for looking back. To put a scene back where it was, drag it there.
The order’s history is never thinned, whatever you choose under Keep history small below.
Keep history small
Section titled “Keep history small”History is kept in full by default. If a long project’s history grows large, click the project’s name in the toolbar, choose Project details & settings… → Version history, and choose how much to keep, for example A month in full, then daily up to a year, then weekly: every version from the last month, then the last version of each day until a year back, and the last of each week before that. Thin now applies it to the open project straight away.
You can set this at several levels: this computer, a workspace (a folder you added to Leafbind), a universe, a series, and a project. The most specific setting wins, in that order from the project outwards. So one book can keep everything even when the rest of its series is thinned. Each setting shows only the levels the open project actually has, which one is in force, and where it comes from; Show every level opens them all for editing.
Nothing is thinned when you open a project unless you turn that on, at any of the same levels. Each computer only ever thins the versions it recorded itself.
Where history lives
Section titled “Where history lives”In the .leafbind/history folder inside your project, so it travels with the project. Each computer you write on adds its own history files there, so two machines never overwrite each other’s record.