Thanks for this - yes, the way you said going through the Markup menu
does the trick perfectly.

On Dec 18, 12:05 am, Patrick James <[email protected]> wrote:
> Hi
>
> I guess you are using
>
> Markup -> Tidy -> Clean Document...
>
> There is also
>
> Markup -> Utilities -> Format...
>
> I think the latter does what you wish in "Hierarchical" mode I think.
>
> I hardly ever use these myself so I'm not an expert.
>
> You might be able to put comments flush with left side with this Grep
> Find/Replace:
>
> Find: (?<=.)<!--
>
> Replace: \r&
>
> So, if you wish to use Tidy then you could create a Text Factory where
> the first instruction is Tidy and the second is a "Replace All" with
> that Find/Replace expression.
>
> Patrick
>
> http://www.patrickjames.co.uk
>
> On 17 Dec 2008, at 23:04, greencode wrote:
>
>
>
> > I like to use BBEdit to tidy my HTML at the end of a project but I
> > also like to keep any comments flush to the left hand side of the code

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "BBEdit Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a specific feature request or would like to report a suspected (or 
confirmed) problem with the software, please email to "[email protected]" 
rather than posting to the group.
-~----------~----~----~----~------~----~------~--~---

Reply via email to