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

Allan Odgaard throw-away-1 at macromates.com
Wed Aug 23 12:50:31 UTC 2006


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.







More information about the textmate mailing list