Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Avoid keyword-coloring keywords when they're substrings of tokens #45

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

Merged
merged 1 commit into from
Mar 2, 2019

Conversation

fiddlemath
Copy link
Contributor

e.g, when "struct" occurs in "constructor", don't color "struct".

This is achieved by adding word boundaries in regexps, inside the solidity-match-* functions.

…ens.

e.g, when "struct" occurs in "constructor", don't color "struct".

This is achieved by adding word boundaries in regexps, inside the solidity-match-* functions.
@LefterisJP
Copy link
Collaborator

Hey @fiddlemath! Thank you a lot for this. Very nicely spotted. 👍

@LefterisJP LefterisJP merged commit 47f15b2 into ethereum:master Mar 2, 2019
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