Re: [TxMt] “Reformat Comment” command for Ruby bundle

James Edward Gray II james at grayproductions.net
Wed Aug 23 13:46:38 UTC 2006


On Aug 23, 2006, at 7:50 AM, Allan Odgaard wrote:

> On 23/8/2006, at 14:43, Daniel Harple wrote:
>
>> [...] I just changed the command to be scope source.ruby and it  
>> seems to work fine, but it will now reformat all comments if you  
>> don't have a selection.
>
> We could change the single-line comment rule to also markup the  
> leading whitespace as comment.line.*, that would make the entire  
> “block” of line comments target for the scope selector of  
> comment.line.

I went with this option and checked in the command.  Let me know if I  
broke anything...

James Edward Gray II


More information about the textmate mailing list