Code folding feature request

I’ve noticed that scripts saved in SD8 don’t always remember what parts were folded and what wasn’t. I think it’s probably following crashes.

I’m wondering if it would be possible to add code folding options to the toolbar menu.

A simple menu button with all the options would suffice, or individual buttons that would fold/unfold handlers; fold/unfold all; fold/unfold selection. (Looks like there room in the window for more button options)