CodeEdit icon indicating copy to clipboard operation
CodeEdit copied to clipboard

🐞 Line highlights erroneously affected by Utility Area

Open xyzqm opened this issue 1 year ago • 2 comments

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

  1. Select any line
  2. Move the utility area/scroll the page
  3. 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

xyzqm avatar May 02 '24 04:05 xyzqm

image

The issue becomes much more obvious when selecting all text with cmd + A.

xyzqm avatar May 02 '24 05:05 xyzqm

Even odder, the highlightable section appears to correspond to the syntax highlighted section: image And in cases when the overall file length (by rows) is small, the entire thing is able to be highlighted: image But then goes back to the errored behavior after a certain threshold:

https://github.com/CodeEditApp/CodeEdit/assets/65467530/d3495ab5-d058-4ecb-97d2-364b77f068ac

xyzqm avatar May 03 '24 05:05 xyzqm