[TxMt] Reformat comment command

James Edward Gray II james at grayproductions.net
Thu Aug 24 00:19:08 UTC 2006


On Aug 23, 2006, at 6:34 PM, Alan Schussman wrote:

> On Aug 23, 2006, at 4:25 PM, James Edward Gray II wrote:
>
>> If I remove backslash from the characters would that cover us?  I  
>> don't *think* it's a comment in any language I know...
>
> I would think that would work. At least until the  
> BackSlashAsComment bundle comes along, in which case we can revisit  
> it.

OK, try the new version.  Should be fixed up, I hope.			

> 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.

I've repaired the Perl grammar.

This command is for line comments.  Perl's block comments do not  
begin with a #.

James Edward Gray II



More information about the textmate mailing list