Skip to content

Commit 9f0cc64

Browse files
committed
feat: move file recovery docs from editing text to file management
1 parent 3354562 commit 9f0cc64

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

docs/03-editing-text.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -296,21 +296,6 @@ Press `Shift + F11` to toggle between `No-Distractions` Mode and `Normal` Mode.
296296

297297
---
298298

299-
## File Recovery
300-
Phoenix Code Editor has a built-in file recovery feature to help you retrieve unsaved changes after unexpected events like crashes or accidental closures.
301-
302-
### Recovering Files after a crash
303-
**Reopen the Editor**: If there are any unsaved changes from the previous session, a dialog box will appear, with two options `Discard` and `Restore`.
304-
305-
![File Recovery Dialog Box Image](images/editingText/file-recovery.png "Click Restore to recover all the unsaved changes")
306-
307-
* **Restore Changes**: To recover your unsaved files, simply click the `Restore` button. This action will reinstate all the changes you made to the files before the last save.
308-
309-
* **Discard Changes**: To remove the unsaved changes, click `Discard`.
310-
*Note: This will permanently delete the data.*
311-
312-
---
313-
314299
## Editing Preferences
315300
You can personalize Phoenix to suit your workflow by adjusting the preferences.
316301

docs/05-file-management.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,3 +328,18 @@ The dialog shows your recently opened files. Closed files appear in gray. Hover
328328
329329
To view a file's full path, hover over it or check the bottom-left corner of the dialog when a file is selected.
330330

331+
---
332+
333+
## File Recovery
334+
335+
**Phoenix Code** has a built-in **File Recovery** feature to help you retrieve unsaved changes after unexpected events like crashes or accidental closures.
336+
337+
### Recovering Files After a Crash
338+
When you reopen the editor, if there are any unsaved changes from the previous session, a dialog box will appear with two options: `Discard` and `Restore`.
339+
340+
![File Recovery Dialog Box](./images/fileManagement/file-recovery.png "File Recovery Dialog Box")
341+
342+
* **Restore**: Recovers your unsaved files by reinstating all changes made before the last save.
343+
344+
* **Discard**: Removes the unsaved changes. *This will permanently delete the data.*
345+
File renamed without changes.

0 commit comments

Comments
 (0)