zikaari / monaco-editor-textmate

MIT License
122 stars 16 forks source link

⚠ Parsing long text lines can consume a lot of CPU resources! #29

Closed SuperManito closed 7 months ago

SuperManito commented 8 months ago

Editor option maxTokenizationLineLength is not work. Parsing long text lines can consume a lot of CPU resources, leading to browser page fake death. Under normal circumstances, long text lines should not be parsed.

xueerli commented 5 months ago

@SuperManito How did you solve it?

SuperManito commented 5 months ago

@SuperManito How did you solve it?

https://github.com/shikijs/shiki 了解一下,你会发现一个新大陆,这个项目问题太多并且已经不活跃了