[TxMt] feature suggest: collapsing chunks of CSS via comment tokens

Allan Odgaard throw-away-1 at macromates.com
Wed Aug 23 23:20:19 UTC 2006


On 23/8/2006, at 21:24, Eric D. Fields wrote:

> [...] I'm pretty sure all that would be needed for this are some
> standardized tokens that need to appear at the section 'bookends.'

CSS already supports folding on ‘/**’ and ‘**/’.

So that would be either:

     /** fold start marker */
     …lots of CSS…
     /*  fold stop marker **/

Or:

     /** very big
      *  comment with
      *  lots of info
     **/

If you paste the above in a CSS file you will see how it can be folded.




More information about the textmate mailing list