[TxMt] Reformat comment command

Gerd Knops gerti-textmate at bitart.com
Thu Aug 24 04:32:12 UTC 2006


On Aug 23, 2006, at 19:06, Allan Odgaard wrote:

> On 24/8/2006, at 1:34, Alan Schussman wrote:
>
>> The only other change I'd make would be to add comment.block to  
>> the context. I don't know how many languages do it, but I saw that  
>> at least perl set context to comment.block instead of comment.line.
>
> If so, Perl should be fixed. Block comments should use another  
> mechanism to have their text reformatted (I show one approach in  
> the customization screencast ;) .)

Perl does not have block comments. But I defined comments that start  
in the first column as block comments. That allows me to do different  
highlighting for what I consider top level comments. This was quite  
deliberate!

Gerd




More information about the textmate mailing list