Please sign in to comment.
• 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). git-svn-id: http://svn.textmate.org/trunk/Bundles/Latex.tmbundle@11471 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
- Loading branch information...
4 Commands/Show Outline.tmCommand