zikaari / monaco-editor-textmate

MIT License
122 stars 16 forks source link

OnigScanner Throws unexpected error #22

Open starlight93 opened 2 years ago

starlight93 commented 2 years ago

Hi, I have successfully wired monaco editor with textmate as the instructions. I did not get any red console in my browser until I tried to set editor's model with thousand lines of string (more than 2k lines).

I thought the errors which was thrown did not affect the usage of monaco editor. The editor could be used well with no problem. But maybe someone knows how to solve this. thanks.

image

The packages I use:

"onigasm": "^2.2.5",
"monaco-editor": "^0.32.1",
"monaco-editor-textmate": "^3.0.0",
"monaco-textmate": "^3.0.1"