Am 15.09.2011 um 05:02 schrieb Frederick Yocum:
Is it possible to hack the CSS module to add a rule for code folding.
I like to group my CSS with comments like so:
/* @group Global Reset */
...rules
/* @end Global Reset */
and would love to be able to fold the groups.
I don't
Thanks Roland, this will probably do what I want. Another trip to the manual to
learn about BBEdit.
Frederick Yocum
freder...@frederickyocum.com
On Sep 15, 2011, at 3:08 AM, Roland Küffner wrote:
Now you have markers for each group and you can select easily by choosing the
appropriate
Roland, thanks for the tip about markers. For those of us who aren't
as familiar with grep, can you tell me what your phrase is looking
for? I can see it looks for '@end,' but the I can't quite see what the
front part of the statement is saying amidst all the escaped
characters.
Thanks.
On Sep
My interpretation:
(?s)^/\* (.+?) \*/.+?/\* @end.+?\r
(?s) - set the s option for this regex. i.e.: treat the entire document as
one string
^ - starting from the beginning of a line
/\* - look for /* followed by a space
(.+?) - look for the least number of any characters to satisfy the
Is it possible to hack the CSS module to add a rule for code folding.
I like to group my CSS with comments like so:
/* @group Global Reset */
...rules
/* @end Global Reset */
and would love to be able to fold the groups.
Frederick
--
You received this message because you are