Re: [code] [textadept] Arbitrary Lua Code on Command Line

From: Mitchell <m.att.foicica.com>
Date: Sat, 11 Jan 2014 10:37:46 -0500 (EST)

Hi Michael,

On Sat, 11 Jan 2014, Michael Richter wrote:

> How does one do this in the most recent release? Currently I get this
> behaviour:
>
> # starting from no instances
>
> textadept -e 'goto_line(100)' my_file
> # new instance opens up, positioned at 1st line of file
>
> [snip]

Textadept processes command line arguments in order. You need

   textadept my_file -e 'goto_line(100)'

It has always been this way. I hope I'm understanding your question
correctly.

Cheers,
Mitchell

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Sat 11 Jan 2014 - 10:37:46 EST

This archive was generated by hypermail 2.2.0 : Sun 12 Jan 2014 - 06:40:29 EST