-
-
Notifications
You must be signed in to change notification settings - Fork 292
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
CodeMirror 0.50.2 bug #72
Comments
I'll look into this right now! Thanks for the MWE - breaks for me too. |
Unfortunately the problem is in the CodeMirror formatter (it also breaks in a standalone editor), I'll try to fix it and send them a PR. It looks like the problem is having a pair round brackets intersect a pair of square brackets, i.e.
|
I've submitted an Issue with CodeMirror and downgraded CodeMirror to |
Marijn fixed the CodeMirror bug! Will be fixed here when CodeMirror releases their next version. |
This is a strange one...
When I have the following notebook (which is not the real code but a meaningless MWE):
and in the second cell try to delete the
[
between thex
and the2
in[(x[2])]
the browser tab hangs. Always.The first cell actually doesn't matter. The same also happens if the notebook only contains the second cell. I only added it to demonstrate that the code is ok.
The bracket combination in the second cell seems to actually matter somewhat. At least I wasn't able to remove any of them to reduce the MWE further.
Although this might seem like a corner case, it actually happened more than once now for me while working with actual notebooks.
This happens with Chromium and Firefox.
The text was updated successfully, but these errors were encountered: