You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am very satisfied with the speed of editing.
But, Highlighting is slow when code is large.
When entering new code after several thousand lines of code, highlighting takes more than a few seconds.
Is there any solution?
The text was updated successfully, but these errors were encountered:
@ellie-k-nam Hello, thanks for your feedback. In fact, this is a known issue. Syntax highlighting requires a large number of regular matches, but the editor does not cache the results, resulting in many meaningless repeated executions. It is feasible to consume some storage space in exchange for efficiency, so I need to modify code of re-highlight. However, the code of re-highlight is completely synchronized with highlightjs, I don't plan to make additional changes.
I just started using this library, and this was the first thing I noticed too. (After the fact that it has built-in support for horizontal scrolling 🥳)
It's not a dealbreaker for my project, but it would be nice if it could be improved somehow...
I am very satisfied with the speed of editing.
But, Highlighting is slow when code is large.
When entering new code after several thousand lines of code, highlighting takes more than a few seconds.
Is there any solution?
The text was updated successfully, but these errors were encountered: