[TxMt] [PATCH] checknest.rb screws up if there is more than one opening or closing delimeter on a line
Robin Houston
robin.houston at gmail.com
Thu Mar 15 19:40:39 UTC 2007
I was getting the wrong auto-close \end{...} tags when I pressed
apple-option-. in my LaTeX document.
The problem turns out to be caused by a bug (or design flaw) in the helper
script "$TM_SUPPORT_PATH/bin/checknest.rb", which only recognises a single
delimeter per line: in a few places I have a short environment on a single
line.
I have applied the attached patch to my copy. I admit that I haven't tested
it especially thoroughly, but it seems to work for me.
I hope this is useful.
Robin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20070315/321dbe80/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: checknest.patch
Type: application/octet-stream
Size: 1824 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20070315/321dbe80/attachment.patch>
More information about the textmate
mailing list