Re: [code] [textadept] Textadept 9.4

From: Mitchell <m.att.foicica.com>
Date: Tue, 18 Jul 2017 11:19:17 -0400 (EDT)

Hi Pascal,

On Tue, 18 Jul 2017, Pascal wrote:

> hi Mitchell,
>
> `textadept.file_types.extensions = {}` in `~/.textadept/init.lua` works
> fine :-)
>
> by default, textadept is single instance : how could I invert this without
> the `-f` command line switch ?
> I took a look in the `/usr/share/textadept/core/args.lua` script, in which
> the function relative is registred, but the function is "nothing" :
> M.register('-f', '--force', 0, function() end, 'Forces unique instance')
> so, I don't understand :-(

You'd have to recompile Textadept in order to invert the flag. The flag exists in Textadept's C core and *core/args.lua* creates a dummy flag for informative purposes.

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 Tue 18 Jul 2017 - 11:19:17 EDT

This archive was generated by hypermail 2.2.0 : Wed 19 Jul 2017 - 06:41:36 EDT