Thanks for the patch Robin, unfortunately I get a merge conflict in the third hunk.
Could you run a diff against http://macromates.com/svn/Bundles/trunk/ Support/bin/checknest.rb and give me that?
On 15. Mar 2007, at 20:40, Robin Houston wrote:
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 <checknest.patch>
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate