apache / daffodil-vscode

Apache Daffodilâ„¢ Extension for Visual Studio Code
https://daffodil.apache.org/
Apache License 2.0
10 stars 20 forks source link

Selection Highlights Fail to Rescend Consistently #1019

Closed stricklandrbls closed 1 month ago

stricklandrbls commented 2 months ago

Whenever a byte range is selected when the selection start byte is >= 1024 (Viewport capacity), if the user rescends the selection end byte offset then the highlights do not update correctly.

Screenshot; image

The solution is in modifying how the highlights determine where to 'unselect' bytes during a selection.