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
Implementing the folding itself is not particularly difficult. How to do it is covered in depth by an old WWDC session. Even though they store the folding ranges in the text storage (which is not really a great option if you support multiple text boxes having the same text storage like Fragaria does), it's not very difficult to store the folded ranges elsewhere.
On the other hand, detecting interesting folding ranges (like all blocks bounded by {}) is going to be hard because the current parsing code is totally inadequate for this purpose.
How difficult it is to add code folding support in fragaria?
The text was updated successfully, but these errors were encountered: