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

Update rgbWithoutFunction to highlight in XML files #215

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

clarinetJWD
Copy link

Currently, colors in XML like <color>123, 234, 12</color> don't highlight. This change enables highlighting in XML files where the color string ends with a <

It also changes the "end" string to not highlight the trailing space or semicolon.

Currently, colors in XML like `<color>123, 234, 12</color>` don't highlight. This change enables highlighting in XML files where the color string ends with a `<`
Added one more end flag to ensure that `RRR, GGG, BBB` values are detected on newlines if nothing else is on the line.
@clarinetJWD
Copy link
Author

Added |\r to the regex string to detect the first lines in situations like:

123, 124, 125
111, 222, 333

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