• improve the regexp used to match non-comment part of lines

The previous regexp would cause a break point per character in the line and 
Ruby’s regexp lib “only” allow around 2,000 of these, so users with excessively 
long lines saw this command error out (stack overflow).

As a quick fix I made the regexp match the entire line in one go, if it does 
not contain any % characters. It then falls back on the old regexp (i.e. via 
normal regexp alternation).

Changed:
U   trunk/Bundles/Latex.tmbundle/Commands/Show Outline.tmCommand
_______________________________________________
textmate-dev mailing list
[email protected]
http://lists.macromates.com/listinfo/textmate-dev

Reply via email to