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?"
<br><br>Thanks,<br>Dru<br><br><div><span class="gmail_quote">On 6/19/06, <b class="gmail_sendername">Allan Odgaard</b> <<a href="mailto:throw-away-1@macromates.com">throw-away-1@macromates.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 16/6/2006, at 19:14, Dru Kepple wrote:<br><br>> [...] Here's what I have:<br>><br>> foldingStartMarker = '(/\*|\{\s*$|\[\s*$|\(\s*$)';<br>> foldingStopMarker = '(\*/|^\s*\]|^\s*\}|^\s*\))';<br>> [...]
<br>> /**<br>> *<br>> */<br><br>The folding start and stop line needs the same indent to be detected.<br>Above the stop line has one leading space which makes the indent<br>different from the start line.<br><br>
For this to work, you would need to use something like:<br><br> /**<br> *<br> *<br> **/<br><br><br><br>______________________________________________________________________<br>For new threads USE THIS: <a href="mailto:textmate@lists.macromates.com">
textmate@lists.macromates.com</a><br>(threading gets destroyed and the universe will collapse if you don't)<br><a href="http://lists.macromates.com/mailman/listinfo/textmate">http://lists.macromates.com/mailman/listinfo/textmate
</a><br></blockquote></div><br>