On Nov 5, 2013, at 8:07 AM, Per Persson <persqu...@mac.com> wrote:

>> Matches in a grammar (and in bundle items in general*) can only target a 
>> single line, no multi-line matches. This is done for performance reasons as 
>> if you could target multiple lines it would require significant re-parsing 
>> with every keystroke. This is the reason you see the slightly odd scoping of 
>> the ‘setext’ style headers.
>  
> OK, thanks for confirming that. I suspected performance was at issue here. 
> Still, the situation still makes me uneasy. 
> Was there ever a multiline version of the parser that I could check out and 
> play with?

No, it’s always functioned in this manner.
_______________________________________________
textmate-dev mailing list
textmate-dev@lists.macromates.com
http://lists.macromates.com/listinfo/textmate-dev

Reply via email to