microsoft / vscode-hexeditor

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

Number of bytes selected (in status bar) is very unreliable. #455

Closed staplerfahrer closed 7 months ago

staplerfahrer commented 1 year ago

To reproduce: open any file, select a range of bytes, check the status bar, and verify the number of bytes selected. This is often wrong, especially near the beginning or end of the file.

Dragging with the mouse results in the first line not being selected, and not counted.

Clicking the first byte, holding shift+right arrow keys until the whole file is selected, counts 1 more byte than the file is long.