[TxMt] Bug en Dup-line

Hans-Joerg Bibiko bibiko at eva.mpg.de
Mon Nov 26 16:02:08 UTC 2007


On 26 Nov 2007, at 16:06, Allan Odgaard wrote:
> On 26 Nov 2007, at 12:59, Juan Falgueras wrote:
>> [...] I think I've find a bug in the duplicate line TM proc:
> The reason for the confusion is that this is only a problem on  
> Leopard.
>
> The duplicate line uses bash with byte-offsets into the line string  
> variable, but starting with Leopard, bash will treat the offsets as  
> code-point offsets.
>
> So we need to rewrite the command in some other scripting language  
> to ensure compatibility with both Tiger and Leopard…

I can't test it with Leopard yet, but try this one:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Duplicate Line : Selection (Tiger:Leopard).tmCommand
Type: application/octet-stream
Size: 1342 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20071126/d3c31b9a/attachment.tmCommand>
-------------- next part --------------


On Tiger it works.

Cheers,

--Hans


More information about the textmate mailing list