[TxMt] PHP Alternate Syntax & Folding
Peter Bonnell
peter at circuitllc.com
Thu Oct 22 16:54:34 UTC 2009
Hi there,
I'm using build 1509 (Cutting Edge).
I'm experimenting with PHP alternate syntax (no curly braces) and
can't get the blocks to fold.
My PHP language bundle contains the following:
foldingStartMarker = '(/\*|\{\s*$|<<<HTML)';
foldingStopMarker = '(\*/|^\s*\}|^HTML;)';
Can anybody point me in the right direction to get my alternate syntax
to play nice ?
PHP alt syntax looks like this:
if ($high < 11):
return $high;
else : return false;
endif;
-Peter
More information about the textmate
mailing list