[SVN] Re: latex bundle: (fold) bug

Allan Odgaard mailinglist at textmate.org
Sun Oct 26 11:12:04 UTC 2008


On 19 Oct 2008, at 10:50, Bartha István wrote:

> I think there is a very minor bug in the textmate LaTeX bundle [...]  
> if you edit the first line of fold ( append something after "foo"),  
> then the fold will broke, and it wont fold anymore.
>
> I don't know whether this is a bug in the bundle, or in textmate  
> itself.

Well, it is how the folding patterns in LaTeX are crafted, to be more  
specific, this is the pattern:

     %.*\(fold\)\s*$

So you can put anything before ‘(fold)’ but only whitespace is allowed  
to follow it.

For more info see http://manual.macromates.com/en/navigation_overview#customizing_foldings




More information about the textmate-dev mailing list