[TxMt] Bug in Ruby bundle: Control-Q comment reformatting produces an error for long words
James Gray
james at grayproductions.net
Tue Mar 25 21:48:21 UTC 2008
On Mar 25, 2008, at 1:36 PM, James Gray wrote:
> On Mar 25, 2008, at 1:22 PM, Bill McNeill wrote:
>
>> The problem occurs if you have a comment that contains a single
>> word that goes past column 79. For example, in the following code
>> (also attached) the x's in the comment extend out to column 80:
>>
>> #
>> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>> def func(x,y)
>> x+y
>> end
>
> I can duplicate the error here, so I'll look into it as I have some
> time.
This is a bug in the rubywrap.rb script that is bundled with
TextMate. I believe I've located the issue and I've committed what I
hope is a fix into the Subversion repository.
James Edward Gray II
More information about the textmate
mailing list