[SVN] Problems defining folding of /* ... */ comments

Michael Sheets mummer at whitefalls.org
Fri Feb 16 20:11:46 UTC 2007


> I'm having trouble defining code folding patterns for /* ... */  
> comments. Specifically, as soon as there are spaces (but only  
> spaces!) in a line before closing the comment (*/), the code  
> folding marks vanish. No problem with having other characters on a  
> line before opening a comment (/*). Your help is appreciated.

That's a limitation of the folding system, the indentation of the  
begin/end must match. There's nothing to can do about it because the  
end regex isn't even run if the indent doesn't match.



More information about the textmate-dev mailing list