Skip to content

Delete something without losing it

Deleting in Leafbind is a move, not an erasure. A deleted scene or folder goes to the project’s recycling bin, and stays there until you empty the bin yourself. Nothing is ever emptied for you.

Point at the scene or folder in the tree and use 🗑. Leafbind asks first, Move … to the recycling bin? You can restore it from there, and you confirm with Move. A folder goes with everything inside it.

If the deleted scene was open, the editor clears.

Open File → Recycling bin (N)…, where N is how many items are in it. While the bin is not empty, a 🗑 badge on the book’s row in the tree opens it too.

The bin groups items by the folder they came from, and shows each one’s length and when it was deleted. A deleted folder can be expanded to see what was inside.

Use Restore on the row. The item goes back to the folder it came from, in the same place among its neighbours, and its version history comes back with it. If its folder has since been deleted, the folder is recreated.

Restored while your project folder is out of reach, an item still goes back to the folder it came from, but it may land at the end of that folder: where it sat among its neighbours is recorded in the project folder, and Leafbind reads it from there. Move it into place, or restore it once the folder is back.

A restore never overwrites anything. If a new document has taken the deleted one’s place, the restored one arrives next to it with -restored in its name, and Leafbind tells you where it went.

You cannot restore into a locked folder. Unlock it first.

Reveal shows the item’s file in Windows Explorer.

  • Delete permanently on a row removes that one item.
  • Empty recycling bin removes everything.
  • Remove the N identical copies removes only items that are exact copies of documents still in your project. It appears only when there are some.

Even then, the files go to the Windows Recycle Bin, not straight off the disk. That is your last chance to get something back. Leafbind says what went, for example Deleted “At the lake”. It went to your computer’s recycle bin.

The bin is a recycling-bin folder inside your project, so it travels with the project wherever you keep it, synced folders included.

A whole project is deleted from Go to project (Ctrl+Shift+P): point at its row and use 🗑. Leafbind first tells you what will happen: the project’s folder, how much is in it, and anything you wrote on this computer that hasn’t reached the folder yet. Confirm with Move to Recycle Bin.

What goes:

  • The project folder goes to the Windows Recycle Bin, with everything in it, version history included.
  • What Leafbind keeps of it on this computer goes too: its local copy, any rescued copies, and its place in Recent and on the shelf.

If the project is open, it closes first. If it was the last project in a series, Leafbind offers to delete the empty series as well. Tick the box if you want that; otherwise the series stays.

Open the Windows Recycle Bin, find the project’s folder, and use Restore. It goes back where it was, and the next time you open Go to project, Leafbind finds it again.

If the project was on a drive letter that stands for a folder elsewhere (made with subst), the Recycle Bin lists it under that folder’s real location. Leafbind tells you that location when you delete the project.

Some drives have no Recycle Bin: a network share, a USB stick. Deleting a project there is permanent. Leafbind says so in red before anything happens, and the button reads Delete permanently.

  • A locked project can’t be deleted: its 🗑 is greyed out. Point at it to see where the lock comes from, then unlock the project, or its series, first.
  • A file in the project is open in another program, such as an editor. Nothing is deleted, and Leafbind says so. Close it, then delete the project again.
  • A project whose drive isn’t connected can’t be moved to the Recycle Bin. Leafbind offers to forget it instead: its own copies and the shelf row go, and the folder itself is not touched. When the drive is back, the project is found again. If you wrote anything on this computer that never reached the folder, forgetting deletes it, and Leafbind says so first.