[TxMt] [PATCH] checknest.rb screws up if there is more than one opening or closing delimeter on a line
Allan Odgaard
throw-away-1 at macromates.com
Fri Mar 16 01:30:01 UTC 2007
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 at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
More information about the textmate
mailing list