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

Highlighter now works on the whole line. #6

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

mkrueger
Copy link
Contributor

@mkrueger mkrueger commented Jun 17, 2024

I know "no new features" so let's see that as a possible improvement for future versions.
The Highlighting interface works on tokens but for my use case I need context sensitive highlighting so it needs to work on the whole line and the highlighter to tokenize the line.

I moved the word highlighting to WordHighlighter so consuming code using that doesn't break.

Copy link
Contributor

@patriksvensson patriksvensson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@patriksvensson
Copy link
Contributor

I said that too soon. Seems like there is some stylecop problem. Would you mind fixing snd I'll get this merged and a new version released asap.

@mkrueger
Copy link
Contributor Author

fixed - missed that.

I've another change I needed regarding to the completion where I ran into similar issues.
I'll make an extra PR about it. I need to review it.

@patriksvensson patriksvensson merged commit d538198 into spectreconsole:main Jun 18, 2024
2 checks passed
@patriksvensson
Copy link
Contributor

Merged! Thank you for your contribution. Much appreciated! 👍
I will release a new version with this commit include.

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.

2 participants