Skip to content
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

Micro does not respnoe when edit specific file #3115

Open
dustdfg opened this issue Jan 14, 2024 · 2 comments · May be fixed by #3127
Open

Micro does not respnoe when edit specific file #3115

dustdfg opened this issue Jan 14, 2024 · 2 comments · May be fixed by #3127

Comments

@dustdfg
Copy link
Contributor

dustdfg commented Jan 14, 2024

Description of the problem or steps to reproduce

Open it with micro and try to edit. It won't respond anymore and killing terminal doesn't kill micro

tileset_env_test

Specifications

Commit hash: 2d82362
OS: Debian12
Terminal: foot,

@JoeKar
Copy link
Collaborator

JoeKar commented Jan 14, 2024

Duplicate of #2839

There is still an recursion within highlightEmptyRegion() and highlightRegion() due to the "fix" of nested highlights.
The same can be reproduced e.g. by using the "NewTab" page of Firefox or some other nested HTML or XML likes where the whole nesting takes place on one line.

This definitely needs a fix to remove this nasty recursion and to improve the performance.

@JoeKar
Copy link
Collaborator

JoeKar commented Jan 20, 2024

As written in #2839 am at this topic and use your file as benchmark too, but the rework takes a lot of time. The easy and low cost improvement reduced the parsing time by the half.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants