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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove firstRowIsWhiteSpace - unused and breaks empty lines #95

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zolrath
Copy link

@zolrath zolrath commented Nov 30, 2022

The result of this value isn't used but it often fails when clicking on empty lines, resulting in gaps of highlighted text when there are new lines present.

Removing this line fixes this issue and removes an unused variable.

These pictures show the result of all three of these pull requests, allowing for linear-gradients, fixing the issue with the white line number, and allowing blank lines to be selected.

Before

old

After

fixed

The result of this value isn't used but it often fails when clicking on empty lines, resulting in gaps of highlighted text when there are new lines present.

Removing this line fixes this issue and removes an unused variable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant