[SVN] Revision 1725 (Latex)
Allan Odgaard
allan at macromates.com
Fri Sep 9 10:04:34 UTC 2005
On 09/09/2005, at 8.09, Jeroen van der Ham wrote:
> * Added a firstlinematch (^\\documentclass(\[.*\])?\{beamer\}) for
> the beamer class, but even with restricting LaTeX to only ^\
> \documentclass, it doesn't seem to catch on :(
It just uses the first syntax to match, not the longest match.
So changing the LaTeX match to end with (?!.\{beamer\}) or something
like that, would fix it.
But I can also make it favor longest match.
More information about the textmate-dev
mailing list