[TxMt] help with setting up language

Dru Kepple dru.textmate at gmail.com
Tue Jun 20 18:46:41 UTC 2006


So, the same indent needs to occur?  I assume that a space counts as part of
the indent, then.  There's no way to say "I want space-asterix-slash to be
the closing fold marker, and treat anything before that first space as the
indent?"

Thanks,
Dru

On 6/19/06, Allan Odgaard <throw-away-1 at macromates.com> wrote:
>
> 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:
>
>     /**
>      *
>      *
>     **/
>
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20060620/75e3e195/attachment.html>


More information about the textmate mailing list