digitalw0lf/hextor

any option to undo after save file ?

Opened this issue · 2 comments

sometime modified file can not run, or need to check ,so need to undo and save back again :(

It's a common problem of all hex editors which do not load entire file into memory while editing. Only new (changed) bytes are kept in memory, so when you undo some changes, an editor have to read old byte values from original file. When you save (overwrite) a file, old bytes are lost and an editor can no longer reference them.

I understand this would be a good feature and I'm still looking for proper ways to implement it. Most probably it will be some kind of (partial) backup stored before saving a file.

Thank you for developing such a useful software.😊