Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悶 Line highlights erroneously affected by Utility Area #1700

Closed
danielzsh opened this issue May 2, 2024 · 2 comments 路 Fixed by CodeEditApp/CodeEditTextView#27
Closed
Labels
bug Something isn't working triage needed utility

Comments

@danielzsh
Copy link
Contributor

danielzsh commented May 2, 2024

Description

Some part of the utility area appears to conflict with CodeEdit's highlighting the active line:

Screen.Recording.2024-05-01.at.9.47.56.PM.mov

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

@danielzsh danielzsh added the bug Something isn't working label May 2, 2024
@danielzsh
Copy link
Contributor Author

image

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

@danielzsh danielzsh changed the title 馃悶 Issue with active line highlight 馃悶 Issue with line highlight May 2, 2024
@danielzsh danielzsh changed the title 馃悶 Issue with line highlight 馃悶 Line highlights erroneously affected by Utility Area May 2, 2024
@danielzsh
Copy link
Contributor Author

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:

Screen.Recording.2024-05-02.at.10.20.58.PM.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage needed utility
Projects
Status: 馃弫 Complete
Development

Successfully merging a pull request may close this issue.

1 participant