[TxMt] Bug en Dup-line
Ian Potter
mcsticky at gmail.com
Mon Nov 26 16:43:50 UTC 2007
I was trying to grok your code and managed to find this error:
TextMate.exit_insert_snippet("#{e_snp(ENV['TM_SELECTED_TEXT'])\}
${0:#{e_snp(ENV['TM_SELECTED_TEXT'])\}\}")
else
selecting both lines (at line 13 of your command) and invoking the
command gives
TextMate.exit_insert_snippet("#{e_snp(ENV['TM_SELECTED_TEXT'])\}
${0:#{e_snp(ENV['TM_SELECTED_TEXT'])\}\}")
else
TextMate.exit_insert_snippet("#{e_snp(ENV['TM_SELECTED_TEXT'])}
${0:#{e_snp(ENV['TM_SELECTED_TEXT'])}}")
else
Looks like backslashes aren't being escaped, or something. They're
certainly missing from the second line.
--
Ian Potter
On Nov 26, 2007, at 11:26 AM, Hans-Joerg Bibiko wrote:
> On 26 Nov 2007, at 17:18, Ian Potter wrote:
>> I don't know if this was an issue with the original command or not,
>> but try this:
>>
>> $obj = new Object();
>> $obj = new Object();
>>
>
> Ooops, sorry, I forgot to escape '$'.
>
> This should work.
>
> --Hans
>
> <Duplicate Line : Selection (Tiger:Leopard).tmCommand>
> ______________________________________________________________________
> 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
More information about the textmate
mailing list