hextor icon indicating copy to clipboard operation
hextor copied to clipboard

any option to undo after save file ?

Open siyexa2951 opened this issue 2 years ago • 2 comments

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

siyexa2951 avatar Nov 22 '22 05:11 siyexa2951

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.

digitalw0lf avatar Nov 22 '22 19:11 digitalw0lf

Thank you for developing such a useful software.😊

siyexa2951 avatar Mar 02 '23 15:03 siyexa2951