Fixes microsoft/monaco-editor#1818: check matchOnlyAtLineStart when e…#90266
Fixes microsoft/monaco-editor#1818: check matchOnlyAtLineStart when e…#90266alexdima merged 1 commit intomicrosoft:masterfrom
Conversation
…xiting embedded mode
|
https://github.com/microsoft/monaco-editor/blob/master/CONTRIBUTING.md mentions a bunch of test pages, but not a lot about running automated tests. I did try running the following from my but that failed with: |
|
Thank you! The change looks good. I ran the tests at https://github.com/microsoft/monaco-languages using the patch and they all pass. |
|
@alexdima Thanks so much for the fast accept and the release! If I want to add a test, is monaco-languages the right place to do it? |
|
The best would be to have tests inside the But currently there are no specific Monarch tests in the |
This PR fixes microsoft/monaco-editor#1818.
I tested this by copying one of the
.htmlfiles inplayground.generatedand changing the JavaScript to include the following:When I loaded the page, now the entire
"b!ar"string literal was highlighted correctly. Previously, the syntax highlighting stopped at the!.