On 2011-07-26, Watts Martin wrote:
As near as I can tell, there's no way to adjust the tab width
for a document at *all* -- you can only change the editor
default and the per-language setting. I'm surprised, thinking
about it, that tab width isn't adjustable via the per-document
Text Options. (And a little surprised those aren't saved with documents.)
What? Those things work over here (BBEdit 10, OS X 10.7, and
worked for years).
I use this applescript saved in scripts folder, with Control-Tab
set as keyboard command:
tell application "BBEdit"
set tabW to tab width of text window 1
if tabW > 64 then
set tabW to 4
else
set tabW to tabW + 12
end if
set tab width of text window 1 to tabW
end tell
This allows cycling through increasingly wider tab separations,
per document. Adjust your increment as desired (that's the '+
12'), as well as the maximum (64 here) before it reverts to
minimum. Tab width is sticky, so a file keeps the last width I set.
HTH.
- Bruce
_bruce__van_allen__santa_cruz_ca_
--
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>