pombreda / js2-mode

Automatically exported from code.google.com/p/js2-mode
0 stars 0 forks source link

recursive folding #88

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When using the (function(){...})() idiom to create closures, or simply
nested functions, it would be nice to have some kind of 'visibility
cycling' like we see in org-mode (see
http://www.gnu.org/software/emacs/manual/html_node/org/Visibility-cycling.html),
that is, something like this:

- step1: (when function at point is folded:) unfold function, but keep
children folded.
- step2: unfold children
( - step2_1-n: unfold childrens children andsoforth untill completely unfolded)
- step3 : hide all functions in buffer
- step4: fold function; return to step1

Original issue reported on code.google.com by niels.gi...@gmail.com on 28 Jul 2008 at 10:28

GoogleCodeExporter commented 9 years ago

Original comment by steve.ye...@gmail.com on 23 Jul 2009 at 11:41