Draft: Implement document autosave settings feature
- About the implementation
This PR introduces an autosave feature, similar to the one available in Kate. Users will be able to enable this feature via the settings menu and customize the autosave interval to automatically save their changes.
-
ToDO
-
Implement the autosave feature -
Add test scripts for the new functionality -
Current Issue
- In the scenario where a user has both doc.A and doc.B open, modifies doc.A, and then switches to the tab for doc.B, the autosave feature saves the changes to doc.A as expected. However, the asterisk (*) indicating unsaved changes still appears on the tab for doc.A. This issue seems to stem from the save function only updating the caption for the active tab. Could you please provide some guidance on how to resolve this?
Edited by Yao-Wen Chang