[TxMt] drag commands

marios tmtxpstuff at consking.com
Thu Aug 10 09:41:22 UTC 2006


Torsten Becker wrote:
> marios wrote:
>> I tried the above, but String.new outputs nil instead. (My SupportFolder
>> is updated through subversion)
>>
>> regards, marios
>
> Hmm, I did check it again (with Tiger's ruby) and I just get nil in
> the output if I don't have everything in one line, please try to put
> the above in just one line and it should work. (Take care that you
> don't accidently remove a \ or so .. they are important :>)
>
> I also attached the snippet maybe you want to use this instead of copy
> and pasting. :)
>
> ------------------------------------------------------------------------
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
Yes, that works. There where three newline characters, in my code sample.
One more useful keyboard shortcut, that I need to remember in all those
cases:

option command I (Show invisibles )

Your code sample works as expected. Thanks many. I am happy.
I also took a look, at Alan's Drag Example that uses Perl instead, as
part of the Documentation, but as he mentioned :
Slightly complex.

regards, marios



More information about the textmate mailing list