-
Notifications
You must be signed in to change notification settings - Fork 28.8k
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
collapse #4319
Comments
What you see is what's expected. The currently implemented folding strategy is based purely on the indentation of lines. A folding region starts when a line has a smaller indent than one or more following lines, and ends when there is a line with the same or smaller indent. To be more smart and to, for example, use brackets, we will have to go one step further and introduce language agnostic folding regions. We have issue #3422 for this. |
Steps to Reproduce:
When I click on minus sign in tine 785 then instead of collapsing from 785 to 787 or from 785 to 788 it collapse from 785 to 791. Lines 789-791 should not be collapsed.
The text was updated successfully, but these errors were encountered: