[TxMt] Re: Broken comment line / selection

Udo Wendler udowendler at t-online.de
Wed Mar 14 22:48:24 UTC 2007


James Edward Gray II
<james at grayproductions.net> wrote:

> On Mar 14, 2007, at 4:23 AM, Udo Wendler wrote:
> 
> > James Edward Gray II
> > <james at grayproductions.net> wrote:
> >
> >> On Mar 12, 2007, at 6:18 AM, Udo Wendler wrote:
> >>
> >>> When I use the command *Comment Line* then comes no text but only:
> >>> /tmp/temp_textmate.fQZTsU:119: warning:
> >>>
> >>> Can anyone Help?  Sorry for my little english.
> >>> Udo Wendler
> >>>
> >>>
> >>> My Versions:
> >>> Mac mini Intel
> >>> Mac OS X Version 10.4.8 (8L2127)
> >>> TextMate Version 1.5.5 (1368)
> >>>
> >>> cat '/Library/Application Support/TextMate/Support/version'
> >>> 6716
> >>>
> >>> /usr/bin/ruby --version
> >>> ruby 1.8.2 (2004-12-25) [universal-darwin8.0]
> >> <snip/>                                  
> > The error is in the
> > Line 119 the asterisk:
> >
> > | out *lines unless lines.empty?
> >       ^
> >
> > For what is the asterisk good?
> <snip/>

Thank you. Now I understand the *.

> You would also have to have a pretty old Ruby for that to be a  
> problem.  Are you still on Panther by chance?

No, its original Tiger Mac OS 10.4.
I have the solution:

| out(*lines) unless lines.empty?

That go :-)
Udo Wendler




More information about the textmate mailing list