🐞 Line highlights erroneously affected by Utility Area
Description
Some part of the utility area appears to conflict with CodeEdit's highlighting the active line:
https://github.com/CodeEditApp/CodeEdit/assets/65467530/9f88452b-222e-40ff-ac4d-1c8d7d92d3ff
It's worth noting the issue is much more egregious on a larger monitor; on my MacBook Air, it's barely noticeable.
To Reproduce
- Select any line
- Move the utility area/scroll the page
- The highlight should render oddly
Expected Behavior
The highlight should be independent of the utility area.
Version Information
CodeEdit: [e.g. 0.0.x-alpha.y] macOS: [e.g. 13.2.1] Xcode: [e.g. 14.2]
Additional Context
No response
Screenshots
No response
The issue becomes much more obvious when selecting all text with cmd + A.
Even odder, the highlightable section appears to correspond to the syntax highlighted section:
And in cases when the overall file length (by rows) is small, the entire thing is able to be highlighted:
But then goes back to the errored behavior after a certain threshold:
https://github.com/CodeEditApp/CodeEdit/assets/65467530/d3495ab5-d058-4ecb-97d2-364b77f068ac