Hi, thanks for the project. When looking into the code, I find some issues below. This PR is to fix them:
Fix bug in the undo_edit command: currently the top of the history stack contain the current version of the file content, hence the command actually does not perform the undo.
Populate file history with existing content before any edit commands.
Hi, thanks for the project. When looking into the code, I find some issues below. This PR is to fix them:
undo_edit
command: currently the top of the history stack contain the current version of the file content, hence the command actually does not perform the undo.