[TxMt] Re: TM_INPUT_START_LINE_INDEX not always set?

Gerd Knops gerti-textmate at bitart.com
Wed Aug 19 15:19:23 UTC 2009


On Aug 19, 2009, at 8:32 AM, Allan Odgaard wrote:

> On 18 Aug 2009, at 19:53, Gerd Knops wrote:
>
>> I have two bundle commands with identical input and scope settings.
>>
>> One of them sees the TM_INPUT_START_LINE_INDEX environment variable,
>> the other does not.
>
> The variable is conditionally set when the input is a subset of the
> document. What is the input set to? And are you using the commands
> with a selection?

Selection or Scope.
No selection.

Without changing the cursor position, I call two different commands  
with identical input settings. One sees TM_INPUT_START_LINE_INDEX, the  
other does not.

I am at a loss...

Gerd




More information about the textmate mailing list