[TxMt] Indenting after comments

Michael Sheets mummer at whitefalls.org
Thu Sep 27 18:55:49 UTC 2007

On Sep 27, 2007, at 11:32 AM, Eric Uner wrote:

>> The default grammar is set to fold on /** and stop on **/. So you  
>> would need to add another * for the stop marker of your comment,  
>> then it should fold.
>> E.g.:
>>     /**
>>      * This comment folds
>>     **/
> That does not fold for me either. The problem is the leading space.  
> So in the file I uploaded, sample.cc, if you take out the leading  
> space on line 13 then the comment folds.

The start/end markers for foldings must have the same indent, the  
folding pattern isn't even checked if they don't. So his removal of  
the space was intentional.

More information about the textmate mailing list