I am attempting to modify the LaTeX Language Grammar so that I may
style superscripts and subscripts distinctly. I tried to add the
following:
{ name = 'constant.superscript.latex';
match = '\^(\w{1}|\{.*?\}|\\\w*)';
captures = { 1 = { name = 'meta.supersript.latex'; }; };
},
{ name = 'constant.subscript.latex';
match = '_(\w{1}|\{.*?\}|\\\w*)';
captures = { 1 = { name = 'meta.subscript.latex'; }; };
},
However, when I invoke the "show scope" command in the TextMate
bundle, neither of these scopes will appear. (For example, if I type
"Suppose that $\{x_n\}$ is a sequence..." and put the caret after the
underscore, neither "constant.subscript.latex" nor
"meta.subscript.latex" appears in the show scope tooltip.)
I am new to regular expressions, but if I do a find and replace with
those expressions, they do seem to find all occurrences of subscripts
and superscripts. I think I probably don't understand the LaTeX
language grammar, since I have trouble understanding even the
shortest of grammars!
Also, are my naming conventions even close to correct?
For reference, I'm using TextMate 1.5.2 (r1180) and revision 4405 of
the LaTeX bundle from the repository.
Thanks for your help,
Mike Miller
when a project is open, stand-alone editing windows and other windows
(preferences, bundle editor, html view, you name it) don't react to
the cmd+W keystroke (as would be appropriate), but only to cmd+shift
+W. the "Close" shortcut in the File menu is still associated to cmd
+shift+W, while cmd+W is bound to "Close tab". closing all open
projects causes the "Close" shortcut to become again cmd+W.
stupid but annoying.
this bug was probably introduced in the latest revision, or at least
I didn't notice it earlier.
bye,
domenico
Hello all,
I've noticed that when editing using the HTML bundle the Insert
Closing Tag command (Opt+Cmd+.) inserts a closing tag but doesn't
seem to match the indentation of the opening tag.
For example (all tabs are inserted by Textmate automatically):
<ul>
{1 tab}<li>
{2 tab}Lorem ipsum [now press Opt+Cmd+.]
{2 tab}</li> [now press Opt+Cmd+. again]
{2 tab}</ul>
In the above I think it should (or at least I would like) the final
closing li tag to be set 1 tab in, to match the opening li tag, and
the final closing ul to be set with no indent, to match the opening
tag. I think it used to maintain the indent structure, but this might
just be wishful thinking on my part.
Can the bundle be modified to do this?
Thanks in advance,
Matthew
Hello. When I'm doing LaTeX and use \cite or \ref and Option-esc, I
get the dialogue with all the right choices. But when I select one,
the following is inserted into my document:
(\ref{/Applications/TextMate.app/Contents/SharedSupport/Support/bin/ :
11: warning: Insecure world writable dir /Users/apape/bin, mode 040777
lem:twocausalmodels})
How can I suppress/cure the error message? Thanks!
--duus
I'm currently trialling TextMate and like it a lot but would like to print
in colour etc... I see from the Manual that a workaround is to View as PDF
from the Source bundle, but I can't see this option. Am II missing
something?
THanks in advance
Denis
i keep a folder of saved terminals (*.term files) which i use to open
color-coded terminals (blue.term, red.term, green.term, etc).
after using the CTRL-SHIFT-o from textmate to open a terminal at the
current files directory, double-clicking my .term files in finder no
longer opens a terminal, until i close all terminals and re-open
Terminal.app, then the *.term files work again until i next CTRL-
SHIFT-o from textmate.
I was trying to do a new scope for being inside of a certain command
parentheses
eg. trace( 'here is the new scope' ), so that I could do some special
tab triggers inside that scope, but I wasn't able to do it. I tried
all kinds of
combinations for begin and end in the language grammar with no luck.
Apparently I somehow mess up the regular expression.
Can any of you help out ?
Re: Version 1.5.2 (1180)
I was pleased to see that it's possible to enter column editing mode
by hitting the Option key after making a selection but it seems to
behave in an odd way. If I select two complete lines of text and hit
Option then the caret also moves into the line below, which is not
useful because I just wanted to add comments to the start of the
selected two lines. Is this a bug or the way it's supposed to work?
thanks
Martin Baker
www.digital-heaven.co.uk
Hi,
I have a problem with chinese characters that appear to overlap each
other a little in textmate.
Am I missing something or is there a way to fix this – other than
inserting whitespaces in between?
I am using QIM as input method and it works for me.
Kolja.
Thomas,
when I commit directly from the status window there are two visual
glitches (IMHO):
1.
You can see two M's here, but nowhere a visual explanation what
changed? Is there an easy and aesthetic way to add some feedback on
this? (I know, one could just look up the def in the svn manuals… ;))
2. The commit-log from this status window shows a very small font for
me, is it possible to increase this?:
3. The mouse-over effects are fabulous!
Dan
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
My subject line pretty much says it all. I would like to implement a
tab command that will delete the current line in a document. The
best that I have been able to do so far is to remove the text, but
not the line. I'd imagine that I could do it by iterating through
the document and deleting the line in some complicated script, but
I'm hoping for a simple solution. Is there a simple solution? Thanks.
Mike
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
iD8DBQFErf4M4oDM7Rgs0h0RAkjqAKCuq3kJUPlAF+u864DnZRidAaKk0gCfY2dK
q+LWd28wNst5yWCDjfR60HY=
=xuoQ
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I just implemented two new functions: cleanup and remove.
Cleanup moves all of the completed tasks (context = DONE) to the
bottom of a selected task list/project.
Remove removes all of the completed tasks in a selected task list/
project.
Alaskamike
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
iD8DBQFEuw+d4oDM7Rgs0h0RAvlBAJoCOi4ocGRwVG17zj3tTNYKvmSHRACgsv82
mJvfD1RdmUbJeiVyZJOOQSQ=
=3IKE
-----END PGP SIGNATURE-----
Anyone know what Application Allan is using for the screencasts? I'm
on short notice here and need to make several for a little "teaser".
Can't seem to find one I actually like.
Regards,
Eric
here are my two cents on the subject.
I'm plagued with a marked attention deficit :P, so when I found out
about WriteRoom I was sold on the idea of full-screen distractionless
editing.
now, I'm not too fond of feature requests, but I'd like allan to take
a look at WriteRoom and think about offering similar functionality
within TextMate (snippets + fullscreen = wow!) — megazoomer just
doesn't cut it, the whole text is jammed over the left border, too
ugly to be true!
on the other hand, since I first used a mac I expect the maximization
button to act like it does in Finder, i.e. increase window height
until the whole content is shown. that was the behaviour I got on
BeOS too (I was an eager BeOS user back in the day). I guess offering
those two modes (full screen and vertical window zooming) would be
very nice.
ciao,
domenico
Sorry about the subject.
The thing is, I type $('') quite a lot, so much that even a tab-
trigger isn't ideal. I'd like to have a key-trigger of $ to just
activate the thing. The dealbreaker though is that I also use $$
sometimes, and of course an american might use $ for some other reasons.
So I wonder, can you have some "smart" entering here, like the
parentheses in a way.
The behaviour I'd like is that if I just type $, it will expand to $
('$1')$0 (shorthand snippet syntax), but if I hit delete directly
after typing $, it will revert the thing to a simple $-character.
Hope I'm making myself clear :)
btw, Martin Ström, this could be integrated into your new prototype/
scriptaculous bundle ˆ_ˆ
Andreas
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have fixed the script for GeekTool export, so it works now.
Running the command (ctrl-shift-G) creates a file callled
"todoList.txt" in your GTD folder (whatever it is called). The all
you need to do in GeekTool is set up a shell command with:
cat /Users/foo/pathToGTD/todoList.txt
If you try it, please let me know how it works!
Alaskamike
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
iD8DBQFEuYyU4oDM7Rgs0h0RApQ9AJ9fhuGre1C1j5o2/bZiJXUjDXiFpACdFnxH
VBoQW0dECxmUix5YuVxmazI=
=/GZa
-----END PGP SIGNATURE-----
I have one request for the wonderful blogging bundle. I have come to
rely on it 100%, and today I ran into the following problem. I needed
to update a post that was not that long ago, but given the amount of
activity on my blog does not show up in the list of 20 newest posts
that "Fetch post" shows me. Is there a way to get "Fetch post" to
"move to the previous 20 posts" and so on?
Or perhaps a way to search for a post to fetch by name?
Haris
Hi all,
Previous conversations on related topics to this don't seem to answer
the question (correct me if I'm wrong!), so:
Can I turn the input to a command script into a shell variable, i.e.
is there a UNIXy way of reading stdin into a variable?
To be more concrete, I have a simple command for looking up the
current word in the R help files (which are in HTML) and displaying
the page in TM's browser. The basic command is
#! /usr/bin/ruby
text = STDIN.read
file = `find /Library/Frameworks/R.framework/Versions/Current/Resources/library
-name #{text}.html -print`
html = `cat #{file}`
print html
This works, but seems like an inelegant solution, and for more complex
tasks it would be useful to know how to avoid needing ruby and make
this something like
var=[something]
cat `find /Library/Frameworks/R.framework/Versions/Current/Resources/library
-name $var.html -print`
TIA!
Jon
I've just added the following command to my Sweave bundle for using
the command line interface to R rather than the GUI:
M=${TM_SWEAVE_WD:=${TM_DIRECTORY}}
echo -e "setwd('$M')\nSweave('$TM_FILEPATH')" |
"$TM_BUNDLE_SUPPORT/../../R.tmbundle/Support/tmR.rb"
Note this assumes both R and Sweave bundles are located in the same
directory. The /../../ is to back up from the Sweave bundle Support
directory and go into the R bundle Support directory.
Command output should be set to "Show as HTML"
I have only tested this on example-1.Snw
Or here's a simpler, if less pretty, way of doing that taken from the
Sweave manual:
echo "library(\"utils\"); Sweave(\"$TM_FILEPATH\")" | R --no-save --
no-restore
I prefer all the nice HTML you get from using tmR.rb though.
Alan et all,
Don't know how practical, but I thought I would put it out there -
I do a lot of converting of Words docs to html. JT's tidy MS Word
command is a godsend, but there are things that I need to search and
replace for -- things like empty p tags, apostrophies, quotes,
emdshes, etc
I never have (yet) qotten my head around grep/stdn etc, so I end up
using search/replace.
My question is whether it would be feasible to convert search/replace
macros to their command equivalents, which I could then just append on
to msword tidy?
--
dc
-----
David Clark
Web Specialist
Institute for Community Inclusion (http://www.communityinclusion.org/)
david.clark(a)umb.edu
(617) 287-4318
I have been trying to create a snippet that can transform the text at one of the tab stops but am having difficulty, I have consulted the hlp system and it describes how to transform a tab stop when using mirror typing, but I don?t want to have a mirror, I simply want to force one of the tab stops to be uppercase, no matter what character I type, almost as though I switched caps lock on when entering that tab stop and off again after leaving it.
Does anyone know if this is possible? And if so how?
Many thanks
Chris
i would like to be able to perform a simple browser-like back/forward
through the files that i'm viewing/editing. since my normal usage is
to be working with many files simultaneously and i'm using the
project drawer to jump around, i'm always losing track of where i
was. it would be a HUGE time saver to have a "back" command that
could cycle through the last few files that i've loaded into the editor.
note that i've tried using the prev/next file tab commands, but that
just doesn't cut it as the tab placement is completely random based
on the way i work and there are usually a couple dozen of them.
does anything like this exist?
thx.
-scott
Hey all,
if i do, in a ruby file :
#!/usr/bin/env ruby
require 'plist'
plist=Plist.parse_xml(my_info_plist)
within TextMate i get :
NameError: uninitialized constant Plist
altought this script is running well from terminal doing a :
> ruby essai.rb
the ruby used is the same (/opt/local/bin/ruby)
i did setup within textmate some enverironnement variables :
TM_RUBY => /opt/local/bin/ruby
RUBYOPT => -rrubygems
GEM_HOME => /opt/local/lib/ruby/gems/1.8
they all correspond to what i get in the Terminal ie :
> which ruby
/opt/local/bin/ruby
> echo $RUBYOPT
-rrubygems
> echo $GEM_HOME
/opt/local/lib/ruby/gems/1.8
the, i don't understand where the prob comes from...
Hi,
is it possible to change the subversion bundle to allow the diff
actions to take the selected folder in the project drawer as its target?
Thanks in advance,
--
Pedro Melo
JID: melo(a)simplicidade.org
So: I notice that there isn't a Velocity (VTL) bundle available, and
it's listed as something people are interested in. I also can't see
one in the Subversion repository.
As a result: I'm interested in one, and I'm working on one. So far
(after 1-2 hours work) it covers syntax highlighting for keywords in
Velocity lines, as well as single-line comments; there's also some
basic snippets for commonly used methods (set, cparse, parse, if,
foreach). It also inherits all the HTML highlighting/functionality,
obviously.
If anyone else is interested in this bundle, I'd be very grateful for
feature requests and suggestions on what syntax highlighting should
cover. I'd also be interested to know what it *shouldn't* do.
At some point I'll see if I can get an SVN login and put it into the repository.
Anyhow, thought this might be of some interest.
t.
Thanks to Chris, Torsten, Allan and Thomas for the awesome new
subversion bundle.
I do have a few minor feature requests for your consideration:
- Add Commit button directly to the Status window so commits can be
done straight after reviewing the changes
- Add propedit svn:externals command to menu (on selected file) and
allow the externals editing in a subversion window
- Add svn:ignore command to menu (on selected file)
- In the status window, allow setting svn:ignore via shortcut on ?-
files (similar to the Add link)
Any chance you find any of this worth implementing?
Thanks again for your great work.
Sebastian
Hello,
I'm having some problems with the blogging bundle in TextMate. I've
run 'Setup Blogs' and configured it properly. I hesitate to post the
configuration here for public consumption, but if I will email it
directly if need be.
When I try to post or fetch posts, I get this error:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Blogging.tmbundle/Support/lib/blogging.rb:9:in
`expand_path': couldn't find HOME environment -- expanding
`~/Library/Preferences/com.macromates.textmate.blogging.txt'
(ArgumentError)
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/Blogging.tmbundle/Support/lib/blogging.rb:9
from /tmp/temp_textmate.3tWil3:2:in `require'
from /tmp/temp_textmate.3tWil3:2
Any help would be appreciated.
-Zach
Hey All,
I know there aren't any bundles for Coldfusion out there so HTML
bundle has worked ok. But the one thing that is really annoying is
opening a coldfusion document with comments in it.
HTML comments work fine:
<!-- something here -->
CFM comments have problems
<!--- something else here --->
It shows like it's an incorrect syntax and everything below that
point gets dimmed out like it's a comment. Any ideas on how to make
these types of comments look right for me? Something quick and easy
is preferable.
Thanks.
Josh
I admit it: I have not really understood what changed in the
subversion bundle, as I am getting bugs in two places:
* Log on a file produces:
> No Match
> mhh, something with with the regex or svn must be wrong. this
> should never happen.
> last line: Geänderte Pfade:
> please bug-report.
* Blame on a file produces:
> No Match
> mhh, something with with the regex or svn must be wrong. this
> should never happen.
> last line:
> 11 dekay
> 2006-01-21 21:07:26 +0100 (Sa, 21
> Jan 2006) %!TEX root = ../
> Doktorarbeit.tex
> please bug-report.
I suppose this is because of some parsing of the svn output that
doesn't escape the contents of the output - and since Latex likes the
use of % and \ this could cause problems?
* View revision… of a file produces an untitled document (it would
be nice to have a complete filename with the revision in it?)
Dan
I've just begun with svn ... and I've googled and tried :)
how do you supply your password to the svn bundle, I try to commit
but it says I haven't supplied a password (which I haven't since I
don't know how)
help appreciated as always
Andreas
I've recently been messing with the Remind language grammar, and I
would welcome some comments and test files, especially from people
who are use some of the more obscure features. Here is the file:
http://skiadas.dcostanet.net/uploads/Remind.tmLanguage
Atm there is not support for multiline commands (i.e. a command
continuing in a separate line). I hope to add it soon.
Haris
Hi,
I've tried to edit a post via the bloggin bundle. I was able to
retrieve the post, edited without problem, but at posting time, I get
a error to name the endpoint.
THe problem is that the Blog: header (of a moveable type blog) is
missing the #blog_id at the end, although is present in the config file.
Thanks,
--
Pedro Melo
JID: melo(a)simplicidade.org
I am trying to modify my view lists command. It is based on the TODO
bundle command, but I am trying to use string comparison instead of
regexp to test lines. As far as I can tell, the sorting is going ok,
but I'm having trouble with the output. It seems to show everything
except for the task itself (the content). Here is the code, any idea
what's going wrong? Thanks.
Mike
#!/usr/bin/env ruby
$myPath = ENV['TM_DIRECTORY']
$tags = [] #user defined contexts
def readContexts(a)
# processes contexts.gtd into script
context, tabCommand, tabString, regex, color = a.split(/\|/)
$tags.push({:label => context, :regexp => regex, :color =>
color, :matches => []})
end
require "#{ENV['TM_SUPPORT_PATH']}/lib/textmate"
require "erb"
include ERB::Util
def TextMate.file_link (file, line = 0)
return "txmt://open/?url=file://" +
file.gsub(/[^a-zA-Z0-9.-\/]/) { |m| sprintf("%%%02X", m[0]) } +
"&line=" + line.to_s
end
# the contexts.gtd file is read, and converted into $contexts
file = File.open($myPath+"/contexts.gtd", "r")
file.each do |line|
readContexts(line)
end
# sorting happens
$tags.each do |tag|
context = tag[:label]
myFiles = Dir.entries($myPath)
myFiles.each do |fileName|
if (fileName[-3,3] == "gtd") and (fileName != "contexts.gtd")
lineno = 0
mFile = File.open(fileName)
mFile.each do |line|
lineno = lineno + 1
re = /\s/
ctask = re.match(line)
if ctask.pre_match == context
results = {
:file => fileName[0..-5],
:line => lineno,
:content => ctask.post_match
}
results[:match] = html_escape($1)
tag[:matches] << results
end
end
end
end
end
tmpl_file = "#{ENV['TM_BUNDLE_SUPPORT']}/template.rhtml"
puts ERB.new(File.open(tmpl_file), 0, '<>').result
> It's not happening here. Is this consistent? Is it always the Finder,
> or whatever the “previous application” is?
Always the finder.
> Do you use any programs like LiteSwitchX? I do, but I don't know if
> this would affect things.
Nope. Fresh Tiger install, though I did copy over ~/Library/
Application Support/TextMate and ~/Library/Preferences/
com.macromates.textmate.plist.
> Do you notice this only with the date dialog, not with the choose
> context dialog or other dialogs?
Just tested the choose context dialog and got the same issue.
> Do you have your own CocoaDialog installed, or just the one that
> comes with TextMate?
Just the one that comes with TxMt.
Thanks for your assistance, hope this helps. Best regards,
Ben
I know I got turned onto the wonderful Vera monospaced font through
this list, so I thought folks might be interested that there's an
effort to greatly improve Vera.
Vera's an open source font, but is apparently not maintained by
Bitstream. So it's been forked as Deja Vu. From glancing at the
project's history page, and playing around with it a bit, it seems
every bit as good as Vera, and has far better international support
-- I noticed less-common diacriticals and Cyrillic glyphs, to start,
and it seems there are many more. They are intent on making it a
full Unicode font.
More info here:
http://dejavu.sourceforge.net/wiki/index.php/Main_Page
Although most of the installation instructions seem complicated, for
us OS X users it's easy: just download the zip file, and add the .ttf
fonts to your system.
--John
Hi peeps. I was told this was the best place to put this. I've had a
hunt round the mailing list archives and dug up an elegant solution
here or there for Vim-style comment block behaviour, but nothing
obsessive-compulsive enough to quite satisfy me. So here's mine! I
hope you find it useful.
#!/usr/bin/env ruby
# TextMate command to continue block comment
# Preserves whitespace before and after asterisk
# Save: Nothing
# Input: Selected Text / Line
# Output: Insert as Snippet
# Activation: Key Equivalent
# Scope: comment.block
line = ENV['TM_CURRENT_LINE']
caret = ENV['TM_LINE_INDEX'].to_i
before = (caret > 0) ? line[0..caret-1] : ''
after = line[caret..-1]
before =~ /^(\s*)(\/)?\*(\s*)/
if $&
spc = $2 ? ' ' : ''
printf before + "\n#{$1}#{spc}*#{$3}$0" + after
else
before =~ /^(\s*)/
printf before + "\n#{$1}$0" + after
end
This is also my first ever custom command, so it might look a bit
rough. Also, it doesn't insert the space after the asterisk by
default, but by its very indentation-preserving nature will happily
add it after you type one out on the first line.
I guess if there IS a way to do this with a snippet after all, I'm
going to look a bit silly.
Hi,
While tracking down some unrelated issue, I ran into a problem with svn
blame. It breaks when you apply it to files that are not versioned:
> NoMethodError
>
> reason: undefined method `+' for nil:NilClass
> trace:
> /Library/Application Support/TextMate/Bundles/Subversion.tmbundle/Support/format_blame.rb:49
> /Library/Application Support/TextMate/Bundles/Subversion.tmbundle/Support/format_blame.rb:43
Could someone please have a look at this?
Thanks,
Jeroen.
> I can't reproduce this here. Can you give us a precise step-by-step?
1. Open todo.gtd.
2. Create a project and an action
3. Hit "#"
4. Hit "Enter" to set the date to "today"
5. Focus goes back to Finder instead of TxMt
- Ben
After entering the date in the CocoaDialog popup, TxMt is losing
focus. The date is still getting written to the file. Any thoughts on
what might be the issue?
Ben
i am trying to convince the perl bundle to properly fold pod
documents. has anyone tried this with success?
i have tried modifying the Start/Stop markers from
foldingStartMarker = '(/\*|(\{|\[|\()\s*$)';
foldingStopMarker = '(\*/|^\s*(\}|\]|\)))';
to
foldingStartMarker = '(/\*|(\{|\[|\()\s*$|^=head\d)';
foldingStopMarker = '(\*/|^\s*(\}|\]|\))|^=cut)';
which works fine for a simple block:
=head1 HELLO
Hello, World.
=cut
but not for blocks that have more than one =head marker:
=head1 HELLO
Hello, World.
=head2 OOPS
Now head1 and head2 both show folding carets, but only the one
one by head2 does anything when you click it.
=cut
i tried to get clever and use perlish zero-width positive look-ahead
regex -- something like (^=head\d(.|\n)*(?==cut)) -- but textmate
doesn't appear to support such patterns.
any suggestions?
I found this full screen SIMBL bundle today that allows one to work
with any app in full screen mode. Works great in TextMate.
http://ianhenderson.org/megazoomer.html
Ciao
Martin
Hi
Is there a list of which static TM variables are currently available?
I was wondering if for example TM_AUTHOR already exists. I think it
could be of good use for many things. E.g. filling in the author of
S5 slides automatically or when converting a MultiMarkdown document
to LaTeX.
Cheers. Oliver
After the last update to textmate the keyboard shortcut
(command+period) to auto close html tags seems to have broken. This is
the error message that occurs:
<p>/tmp/temp_textmate.IBrgoT:7: undefined method `match' for
#<String:0xc59ac> (NameError)
Does anyone know how or if this can be fixed?
Thank you.
Michael
Hey Drew,
> ---------- Forwarded message ----------
> From: Drew McLellan <lists(a)allinthehead.com>
>
> I'd like to see this as an editing mode, automatically managing real
> tabs/spaces for me.
>
> I use tabs for aligning assignment blocks, and so often find myself
> going back up to add extra tabs when the left side of the assignments
> becomes longer than I expected. Example (using 4 spaces for a tab here):
>
> $a = 'A';
> $bb = 'B';
> $ccc = 'C';
>
> If I were to enter a forth line with a really long variable name, I'd
> *love* for the behaviour to be result in:
>
> $a = 'A';
> $bb = 'B';
> $ccc = 'C';
> $really_long_name = 'foo';
>
> .. but for that to be done with real tabs. I think the suggested
> convention of using a blank line to clear the alignment is a good one.
>
> Not sure if that's useful input or not, but there you have it :)
I've built a TM filter command that will realign assignment blocks.
It'll run on the current selection or on a block of statements
touching the current line. You can find it at
http://random-dreams.org/freeware/textmate/assignment-block-tidier.txt.
It's been on my shortlist since then to write a version that can
realign entire statements, lining up commas and closing parenthesis
and such. I'll probably get to that this month.
Regards,
Chris.