When inputing a large json value with javascript mode, I'm getting this error:
Uncaught RangeError: Maximum call stack size exceeded
at StackBufferCursor.fork (codemirror.js:17779)
at findBufferSize (codemirror.js:1618)
...
To repo, go to https://codemirror.net/6/ and paste in the contents of this attached json file. The syntax highlighting is broken. Then immediately try editing a few things and this error will (sometimes?) come up. I sometimes also see additional error messages:
TypeError: Cannot read property 'split' of undefined
at ParseContext.forceFinish (codemirror.js:18357)
...
Uncaught Error: Calls to EditorView.update are not allowed while an update is in progress
at EditorView.update (codemirror.js:9814)
...
When inputing a large json value with javascript mode, I'm getting this error:
To repo, go to https://codemirror.net/6/ and paste in the contents of this attached json file. The syntax highlighting is broken. Then immediately try editing a few things and this error will (sometimes?) come up. I sometimes also see additional error messages:
test.txt
I'm on Chrome 84 on OSX. I also tried this on CodeMirror 5 and it worked fine.