I have 20 segments of code, say to which are 100 lines long each. They are all folded. These segments of code are all inside another one, say . Together there are more than 3000 lines in this program and folding lines which I do not have to check is quite handy. However, if for any reason I happen to fold and then unfold it, all segments within it from to are automatically unfolded as well, but I would like them to remain folded.
I’am already using the “BufferScroll” package, which I’ve learned in this forum. It helped me a lot to keep track of folds on each file I open, but I cound’t find anything on “gradual or stagewise unfolding”.
Is there a way to do this?
Any help would be appreciated. Thank you.
Stagewise unfolding: Is there a way to gradually unfold?
mariobwagner
#1
1 Like
Preserve sub-foldings on any level when folding/unfolding the mother ones
kingkeith
#2
I’m guessing that, as soon as you fold a region, any folds inside it are forgotten, but I could be wrong.
0 Likes