How do I collapse / expand nested subroutines within MonoDevelop?

I’ve seen online video which shows collapsing and expanding, as well as graphical color coding, of nested functions, if / for / while loops, etc. How do I activate this function within the MonoDevelop editor?

Environment : MacOSX Yosemite 10.10.1, MonoDevelop Unity 4.01

36310-monodevelop-nested-detail.png

Found this forum thread: http://forum.unity3d.com/threads/dont-have-possibility-to-fold-code-in-monodevelop.222058/

User anlop in thread comment #5 says that it may not work for JS, but for C#:

Tools -> Options -> Text Editor -> General, and tick "Enable code folding".