microsoft / vscode-hexeditor

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

Ctrl + G does not work if the file is switched to the side bar #458

Open juls0730 opened 11 months ago

juls0730 commented 11 months ago

Issue summary

When you open a file, switch it to be split screen, then press Ctrl + G and go somewhere it scrolls back to your original scroll position (somewhat at least).

Environment

Steps to reproduce

  1. open a file with the hex editor
  2. set the file to be split screen
  3. press Ctrl + G and type in an offset that scrolls the screen
  4. attempt to scroll with the mouse

Expected behavior: The screen should stay scrolled to that offset Actual behavior: It sets the scroll to about where you were scrolled before you Ctrl + G'd to the offset

Aditional information

439 may be related to the issue I am facing.

juls0730 commented 11 months ago

My workaround currently is to just wait until the file is split screened before viewing it in the hex editor