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

Inexact code folding behavior #745

Closed
Matteo-Nigro opened this issue Jan 10, 2024 · 3 comments
Closed

Inexact code folding behavior #745

Matteo-Nigro opened this issue Jan 10, 2024 · 3 comments

Comments

@Matteo-Nigro
Copy link
Contributor

Matteo-Nigro commented Jan 10, 2024

Hi @zufuliu! 😄 I report a problem with code folding. It is not uncommon when commenting a line that is itself considered a level in code folding, that the subsequent structure is "compromised". Often forcing you to close many previously closed levels... I know it's a fairly complex operation but do you think something can be done to avoid it? 😉
Recording

@zufuliu
Copy link
Owner

zufuliu commented Jan 11, 2024

Caused by negative code folding level for unbalanced braces in lexer.

@zufuliu
Copy link
Owner

zufuliu commented Jan 11, 2024

Fixed by 0c6f1ba.

@Matteo-Nigro
Copy link
Contributor Author

Great thank you very much! You got the job done in no time.... 💪🏻

@zufuliu zufuliu added this to the v4.24.01 milestone Jan 12, 2024
@zufuliu zufuliu closed this as completed Jan 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants