On 5/20/12 at 9:28 PM, [email protected] (zoomclub) wrote:
I'm pasting a lot of column based test from a spreadsheet and it would
be great to have all the tabs align after pasting the data into
BBEdit. I saw an older script called "Entable" but I do not think it
works in the latest BBEdit I recently upgraded to.
Please let me know if there is a way for me to align text that
contains tabs, thanks.
There isn't a way to have columns of different widths. My
workaround is this applescript, which allows me to quickly
adjust the tab width with a keyboard command. Repeating the
command cycles the tab width through successively wider columns
until it hits a maximum (64), then it reverts to default width.
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
Save this script (in Script Editor) to the BBEdit folder in your
Application Support folder in your Library. Then assign a
keyboard command via BBEdit's Scripts menu.
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>