Fix editing support in hex editor