Home
Categories
Dictionary
Download
Project Details
Changes Log
What Links Here
How To
Syntax
FAQ
License

Editor trash



The trash allows to restore deleted files exactly as in any graphical user interface system.

Restoring an element will also restore that dependencies of this element, and also of the elements which were connected to this one before the deletion.


You can access the trash by the trash button editor-trash in the editor toolbar:
editortoolbar

Trash window

The trash window presents the list of the elements which have been deleted:
editor-trashwindow
From the list, you can restore the element or delete it permanently:
editor-trashwindow2
A button allows to empty the teash completely.

Restoring elements in the trash

Restoring an element in the trash will put it at its position in the tree before it was removed. The dependencies of this element, and also of the elements which were connected to this one before the deletion, will be updated.

Usage example

Take this wiki as an example:
editor-delete-scenario-before
We delete the "How to" article:
editor-delete-scenario
After the deletion, the "How to" article is removed from the tree[1]
It is also deleted in the file system
, and the articles which have references on "How to" are now seen as invalid:
editor-delete-scenario-after
Now we go to the trash and restore the "How to" article:
editor-trashwindow2
After the restore, the article is restored and the references are valid again:
editor-delete-scenario-before

Notes

  1. ^ It is also deleted in the file system

See also


Categories: editor | gui

docJGenerator Copyright (c) 2016-2023 Herve Girod. All rights reserved.