PDA

View Full Version : BBEdit - custom-defined collapsable "chunks"?




cleo
Sep 17, 2008, 09:06 AM
I've been using BBEdit Lite/TextWrangler for years, but have been trying out the full version of BBEdit for a few days now, and so far I love it.

I do have one question though. Working on a CSS file, for example, the app gives you little arrow thingies to "collapse" rules, making it easier to see what you're working on at any given time. Is there any way to define such chunks on a custom basis, so as to collapse large portions of a document? (One section of my CSS file has about 30 selectors... instead of collapsing them individually, and still having 30 lines showing, I'd like to just collapse them all as a group while not working on them).



angelwatt
Sep 17, 2008, 12:49 PM
I think I have a solution for you. Highlight the text you want collapsed, then go under View and select Fold Selection.

* I'm using version 8.7.2, so menu items may vary if you have a different version. I'm hoping to upgrade to version 9 though.

cleo
Sep 19, 2008, 02:42 PM
I think I have a solution for you. Highlight the text you want collapsed, then go under View and select Fold Selection.


Yes, that's perfect! OMG, now I see why people drool over this app... I'm actually excited about code again. Time to start saving my pennies... :)

Thank you!!!