Re: [code] [textadept] Textadept used as a "simple advanced viewer"

From: Robert Gieseke <rob.g.att.web.de>
Date: Tue, 27 Aug 2013 15:22:31 +0200

Hi,

Am 8/27/13 2:58 PM, schrieb Pascal:
> Hi,
> I just discover Textadept and it seems remarkably flexible through Lua
> : excellent
> work!
> However, I wish I could use it as a "simple advanced viewer" : opening only
> in read-only mode, highlighting some words or lines with regexp...
> Regards
>

that should be possible using command line arguments, from an older
mailing list post by Mitchell[1]:
    ta foo.c -e 'goto_line(9)' # goto 10th line in file (indexed from 0)
    ta -e 'set_lexer("lua")' # change lexer from 'text' to 'lua'

Robert

[1] http://foicica.com/lists/code/201302/0492.html

-- 
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 Tue 27 Aug 2013 - 09:22:31 EDT

This archive was generated by hypermail 2.2.0 : Wed 28 Aug 2013 - 06:25:31 EDT