I'm wondering if you couldn't use Automator or AppleScript to invoke Markup
-> CSS -> Format, and then search for your braces and insert tabs in front
of them? With an AppleScript, you could even then assign CSS Format a
keyboard shortcut, and then have BBEdit call your AppleScript instead of
its internal routine by placing the AppleScript file in the Menu Scripts
folder.
On Tuesday, August 9, 2016 at 3:55:23 AM UTC-7, jgill wrote:
>
> How can I get BBEdit to format my CSS like this when I click on 'Format
> CSS'?
>
> #a-style
> {
> display: block;
> float: left;
> clear: both;
> }
>
> #another-style
> {
> width: 20px;
> height: 10px;
> }
>
--
This is the BBEdit Talk public discussion group. If you have a
feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bbedit.