If a binary file is opened (or on user demand) it would be nice to open the bytes of the file as editable hex onscreen, alongside an ascii preview along the right half of the screen.
It is likely doable by making modifications to the rendering code:
render the byte's hex's ascii equivalent before going to draw the "character"
special spacing and layout (such as spaces between each 4 bytes and end of "line" earlier (to allow space for the ascii preview))
still leverage the "wrapping" code but always count after a wrap as a "new line" (since now lines wouldn't be denoted by "\n")
make line numbers into byte offsets, toggle between decimal and hex counting
show corresponding ascii area / hex for current selection (on same line)
and the following new features:
special hex keyboard when editing hex area
allow editing of the ascii area by doing Math to figure out which bytes of the text to actually edit
when editing hex info, convert input into the byte changes needed to be made
allow toggle-able insert mode
allow opening of any file as hex (in case we detect poorly)
enhancing "Find..." with jump to offset, as well as ability to choose between searching for hex/ascii
If a binary file is opened (or on user demand) it would be nice to open the bytes of the file as editable hex onscreen, alongside an ascii preview along the right half of the screen.
It is likely doable by making modifications to the rendering code:
and the following new features: