-
Notifications
You must be signed in to change notification settings - Fork 0
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
[CLOSED] Addresses #12456 #10699
Comments
Tagging |
I've looked a bit at this. I've noticed a small issue: if collapse a folded region and then expand it, the code folding triangles are not updated until you move the cursor. I think this is a minimal fix to solve the issue, but the right fix seems to me that we should update all the code of the code folding addon of CodeMirror. |
Could you clarify what you mean by 'update all the code of the code folding addon of CodeMirror'? |
If I'm not mistaken, the |
Ah yes - better a different PR. There are lots of subtle differences, mainly to do with the ability to persist and restore fold states. |
Changes ready for another review. |
|
If the newlines I mentioned are necessary as the globals to make testing easier, then is fine to leave them. |
So now when a tag span on multiple lines you have two code folding triangles. I'm not an UI / UX expert so I'm not sure is actually a good or bad idea. /cc |
|
Another option would be to collapse both tag attributes and tag contents something like this: |
I still see some test failures on the latest commit. |
|
|
Since the behaviour match the CodeMirror one I'm going to take this as is and I'll open a new issue to discuss more the UI / UX.
|
|
|
Tuesday Jun 14, 2016 at 07:07 GMT
Originally opened as adobe/brackets#12521
Addresses issue where code folding triangles in the gutter were sometimes not correctly updated after deleting lines above a folded region.
thehogfather included the following code: https://github.com/adobe/brackets/pull/12521/commits
The text was updated successfully, but these errors were encountered: