[TxMt] Re: language definition - multiple folding marker possible?

Martin Batholdy batholdy at googlemail.com
Sat Feb 25 15:57:36 UTC 2012


great, thanks!


On 25.02.2012, at 15:02, Martin Kühl wrote:

>> can I add a pattern, so that I have multiple markers that signal a block?
>> 
>> I tried;
>> 
>> 
>> foldingStartMarker = ('first block definition', 'second block definition');
>> foldingStopMarker = ('first block definition', 'second block definition');
>> 
>> 
>> but that doesn't seem to work.
> 
> They're just regexps, so you'd typically use:
>    foldingStartMarker = 'first block definition|second block definition';
>    foldingStopMarker = 'first block definition|second block definition';
> :-)
> 
> HTH,
> Martin
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate



More information about the textmate mailing list