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

Fix JavaScript RegExp range closing bracket #1329

Merged
merged 1 commit into from
Mar 1, 2019
Merged

Fix JavaScript RegExp range closing bracket #1329

merged 1 commit into from
Mar 1, 2019

Conversation

jbsulli
Copy link
Contributor

@jbsulli jbsulli commented Feb 26, 2019

The Monarch tokenizer for JavaScript has a bug where the closing bracket for the RegExp range refers to a brackets attribute that does not exist. This bug causes the closing bracket to not be colored using the regexp style.

alexdima added a commit to microsoft/monaco-languages that referenced this pull request Mar 1, 2019
@alexdima
Copy link
Member

alexdima commented Mar 1, 2019

👍 Thank you!

@alexdima alexdima added this to the February 2019 milestone Mar 1, 2019
@alexdima alexdima merged commit f0832de into microsoft:master Mar 1, 2019
@jbsulli
Copy link
Contributor Author

jbsulli commented Mar 2, 2019

@alexandrudima Happy to help! My change was just for the editable example. I couldn't find where the actual JavaScript Monarch language file is. It seems to have the same issue. Is it in a private repo?

@alexdima
Copy link
Member

alexdima commented Mar 4, 2019

@jbsulli I've applied your change also to the monaco-languages repository, where the grammars we ship live -- microsoft/monaco-languages@ba44226

@jbsulli
Copy link
Contributor Author

jbsulli commented Mar 4, 2019

Awesome! Thank you so much!

@github-actions github-actions bot locked and limited conversation to collaborators Jan 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants