[TxMt] TM_CURRENT_WORD urgent question
Allan Odgaard
throw-away-1 at macromates.com
Sat Sep 8 02:46:57 UTC 2007
On Sep 7, 2007, at 4:43 PM, Hans-Jörg Bibiko wrote:
> I don't know whether this is a bug or it's the normal case. I'm
> using TM 1.5.6 (1414)
>
> [ a '|' is indicating the caret]
> Supposing you have a plain text file with a line:
>
> Dies ist ein | Test.
>
> TM_CURRENT_WORD = 'ein Test'
> Why??
It searches left/right for \< and \> (word start/stop boundaries)
though limited to the current line, so the above happens.
It would be better to have the variable unset in this case, though
unlikely I will change that for 1.x, unless you have a convincing
argument for doing it ;)
More information about the textmate
mailing list