jw3 / example-daffodil-vscode

A VS Code extension for DFDL with Daffodil
Apache License 2.0
2 stars 3 forks source link

Hex view position is incorrect #61

Closed arosien closed 3 years ago

arosien commented 3 years ago

When the bytePos1b ("byte position 1's-based") is reported, it is interpreted incorrectly in the view: the view selects row n instead of byte n, where a row is 16 bytes in the current view.

_Extension_Development_Host__-__data-hex_—_sampleWorkspace

arosien commented 3 years ago

A quick fix would be to select row bytePos1b / 16.