[TxMt] help with setting up language

Allan Odgaard throw-away-1 at macromates.com
Mon Jun 19 10:48:44 UTC 2006


On 16/6/2006, at 19:14, Dru Kepple wrote:

> [...] Here's what I have:
>
>     foldingStartMarker = '(/\*|\{\s*$|\[\s*$|\(\s*$)';
>     foldingStopMarker = '(\*/|^\s*\]|^\s*\}|^\s*\))';
> [...]
> /**
>  *
>  */

The folding start and stop line needs the same indent to be detected.  
Above the stop line has one leading space which makes the indent  
different from the start line.

For this to work, you would need to use something like:

    /**
     *
     *
    **/





More information about the textmate mailing list