![]() |
|
Keep It Simple, Stupid | |
PerlMonks |
comment on |
( #3333=superdoc: print w/replies, xml ) | Need Help?? |
For folding it doesn't matter if the below is folded recursively. It is more important for unfolding. It allows you to unfold an entire sub, or just the single level. Imagine:
when it is folded it would be (kinda like this in vim)
when you unfold, would you get back the initial example, or
That is the purpose of recursive folding IMHO. In Vim, it remembers the folded status of things, so if it is in the first example and you fold to the second example, when you unfold, it goes back to the first example. However, if you fold recursively, the default unfold will unfold to the third example.
l8rZ, -- andrew In reply to Re: Code Folding
by afresh1
|
|