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

Hans-Joerg Bibiko bibiko at eva.mpg.de
Wed Oct 10 14:18:26 UTC 2007


Hi,

I have a problem:

I wrote a tiny command:
Save:
nothing

Command:
CHAR=$(cat)
echo -en "($CHAR)"

Input:
Selected Text OR Character

Output:
Show as Tool Tip

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?


Many thanks,

Hans



More information about the textmate mailing list