Thanks BK, i tried it and indeed this comes handy. It's faster than using 
the menu. Yes, I could change the keyboard shortcuts for this too I guess.

About the cleaning/formatting. Is there a way to change it's behavior?
For example in my forms I like to change this "correction"
</label> <label class="ABC"> 
into
</label>
<label class="ABC"> 

So it replaces the "space" with a \r (if I recall correctly this being the 
return)

Thanks :-)

Jeroen


On Wednesday, August 29, 2012 9:25:00 PM UTC+3, BK wrote:
>
> The way I interpreted this question was how to quickly indent or unindent 
> a block - like option+command+[ or ] in dreamweaver.
> The feature you mention is almost like a "clean up style" function and 
> apply formats
>
> But for a quick block indent there is a preference in the "preferences" | 
> "keyboard" area called "allow tab key to indent text blocks".
> Checking this option allows the tab key to work on an entire selected 
> block (instead of replacing the selected block with a tab).
>
> Its very nice!
>
> On Monday, August 27, 2012 7:53:22 AM UTC-5, rarpsl wrote:
>>
>> At 01:12 -0700 on 08/27/2012, JC wrote about formatting or 
>> indentation of code block: 
>>
>> >Hi all, 
>> > 
>> >eons ago I used BBedit for all my html coding but at some moment 
>> >switched to textmate. A few days ago I bought BBedit as it has for 
>> >me better project management features. One thing I fail to find is a 
>> >way to indent/format a block of code. I used that a lot in Textmate 
>> >as I need to check if there are divs etc missing, indentation nicely 
>> >shows this as the flow is broken. 
>> > 
>> >Has anyone an idea how to do this in BBedit 10.1.2 (3125)  ? 
>> > 
>> >Many thanks, Jeroen 
>>
>> MARKUP->UTILITIES->FORMAT will do this. You even get a choice of 
>> indention styles. 
>>
>

-- 
-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
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 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>



Reply via email to