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

From: Mitchell <m.att.foicica.com>
Date: Thu, 28 Mar 2013 08:36:33 -0400 (Eastern Daylight Time)

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.
Received on Thu 28 Mar 2013 - 08:36:33 EDT

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