Situation: i'm writing a document and forget saving. An external tool edits the file i was working in. On zettlr it prompts if i want to read the changes from disk. I say yes, all unsaved work is lost.
Also, this change doesn't end up in the undo history which seems to be entirely cleared, so undo becomes unusable at this point.
Moreover, this problem can happen even the file was previously saved, as the external tool might override it.
I know I could save more often and use a versioning system etc. But in practice, this seems a simple case that Zettlr should be able to tackle.