microsoft / vscode-hexeditor

VS Code Hex Editor
https://marketplace.visualstudio.com/items?itemName=ms-vscode.hexeditor
MIT License
530 stars 88 forks source link

fix: improve range selection logic, support delete #476

Closed connor4312 closed 9 months ago

connor4312 commented 9 months ago

It was a long time on my todo to fix the "publishSelections", as it was previously linear time with the number of bytes selected -- not the best.

Once I fixed that, supporting deletions was fairly trivial, although it is handled a little differently than other edits...

Closes #466