-
Notifications
You must be signed in to change notification settings - Fork 16
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
Browser freezes when highlighting a lot of compressed code #27
Comments
@keaiwkaw Hi, have you solved this problem? |
I solved it by patching method wireTmGrammars from here. Easy peasy:
|
I am inspired by your solution, but I don't know where should I wrote this code in my project, as the function |
@XiayidanAlimu This repository contains only two files. Just add it to your project and patch the function, or use patch-package for this. |
Thank you for your kindly response. |
The browser crashed while I was writing 60k compressed js code into the monaco-editor. When I commented out the highlighted logic, the compressed code appeared normally
The text was updated successfully, but these errors were encountered: