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.
Any idea why that may be?
Thanks
Gerd
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?
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
On 19 Aug 2009, at 17:19, Gerd Knops wrote:
[…] 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...
Maybe attach a bundle with the two commands and steps to reproduce?