[TxMt] tmCommand input: selected text OR character doesn't work?

Allan Odgaard throw-away-2 at macromates.com
Wed Oct 10 15:20:40 UTC 2007

On 10/10/2007, at 17:17, Hans-Jörg Bibiko wrote:

> On 10.10.2007, at 16:52, Allan Odgaard wrote:
>> On 10/10/2007, at 16:18, Hans-Joerg Bibiko wrote:
>>> [...]
>>> If I don't make a selection it outputs only '()'.
>>> But I expect between the parenthesizes the character left from the  
>>> caret.
>>> Can this verified by others as well, or am i wrong, or is my TM  
>>> installation broken?
>> Maybe let the command be: xxd
>> That should show exactly what you get as stdin (as a hex dump).
> OK. That works, but I get the character RIGHT of the caret.

Yes, since generally when you run something “on the current  
character” it is implied that it is the one to the right of the  
caret. E.g. ⌃G or ⌃⇧X.

> On the other hand why does not work 'selected text' or 'character'?

What does not work?

More information about the textmate mailing list