Re: [code] Jumping to a line from the command line

From: Michael Richter <ttmrichter.att.gmail.com>
Date: Thu, 28 Mar 2013 21:26:18 +0800

http://facepalm.org

So simple. So obvious. I'm an idiot.

On 28/03/2013, Mitchell <m.att.foicica.com> wrote:
> Hi Michael,
>
> On Thu, 28 Mar 2013, Michael Richter wrote:
>
>> For purposes of integration with a development environment, I'd like to
>> be
>> able to jump to a given line upon opening a file. I tried the following
>> code with no success:
>>
>> textadept --force --execute '_G.buffer:goto_line(21)' my_file
>
> You need to put the --execute switch AFTER the file you open since
> arguments are processed in the order they are received.
>
> 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.
>
>

-- 
"Perhaps people don't believe this, but throughout all of the
discussions of entering China our focus has really been what's best
for the Chinese people. It's not been about our revenue or profit or
whatnot."
--Sergey Brin, demonstrating the emptiness of the "don't be evil" mantra.
-- 
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 Thu 28 Mar 2013 - 09:26:18 EDT

This archive was generated by hypermail 2.2.0 : Fri 29 Mar 2013 - 06:51:44 EDT