[TxMt] Re: Code folding regexp
Carpii UK
carpii.uk at gmail.com
Wed Oct 14 12:49:41 UTC 2015
>
>
>
> Based on your example, I think it should instead be:
>
> foldingStartMarker = '^\{if.*\}';
> foldingStopMarker = '^\{/if\}';
>
>
Thanks but I can't get your regexp working with this code either
{if (true)}
{foo}
{/if}
Even if I write invalid code just to allow the regexp to be simpler, its
still failing to parse it....
{if}
{foo}
{/if}
foldingStartMarker = '^\{if\}';
foldingStopMarker = '^\{/if\}';
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20151014/7ac4f065/attachment.html>
More information about the textmate
mailing list