First, the per-line chunks should be tracked in a list or dict by offset.
When moving down the least offset is removed from the tracking and the highest is added, vice versa for up.
While selecting some cell in the hex-view, the user should be able to type a new value, using 0-9 and a-f to make a new value. Other lettter keys should not work. As each key is pressed the data is updated in the byte arrays loaded from the file. When the "save" action happens, the modified checks are commited to the BinFile using save_chunk.
First, the per-line chunks should be tracked in a list or dict by offset.
When moving down the least offset is removed from the tracking and the highest is added, vice versa for up.
While selecting some cell in the hex-view, the user should be able to type a new value, using 0-9 and a-f to make a new value. Other lettter keys should not work. As each key is pressed the data is updated in the byte arrays loaded from the file. When the "save" action happens, the modified checks are commited to the BinFile using
save_chunk.