Nice. Handy. I had overlooked the scripting possibilities.

On Jun 22, 2010, at 12:33 AM, Roland Küffner wrote:

> 
> Am 22.06.2010 um 08:49 schrieb John Delacour:
>> At 16:52 -0700 21/6/10, Semper Fidelis wrote:
>> 
>> It can be automated using Apple events with a script added to the Scripts 
>> palette and, optionally, actuated with a key command:
>> 
>>       tell application "BBEdit"
>>         tell front window
>>           set tab width to 8
>>           detab its text
>>         end tell
>>       end tell
> 
> To push this a little further you may consider to turn this script into a 
> menu script to attach it to the File > Save functionality. See page 308 of 
> the fine manual for details. So you wouldn't have to do it by hand for each 
> file.
> 
> But beware. This might convert tabs in files you want them to stay. 
> 
> Regards
> Roland
> 
> -- 
> 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.

-- 
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.

Reply via email to