Re: [code] [textadept] Latest Changes in hg

From: Mitchell <m.att.foicica.com>
Date: Mon, 9 Sep 2013 08:42:16 -0400 (Eastern Daylight Time)

Robert,

On Mon, 9 Sep 2013, Robert Gieseke wrote:

> Am 9/9/13 5:39 AM, schrieb Mitchell:ipts and ta's internals.
>> The 3rd beta will go out this week on the 11th.
>>
> []
>> P.S. There is a good reason for all the API changes and general
>> cleanup!
>> You'll see :)
>
> Now I'm curious :-)
>
> I've found a small issue, the new 'initialized' event [1] makes it
> impossible to simply overwrite key short cuts in my 'init.lua', as
> apparently [2] postpones loading 'textadept.keys'. Should running the
> _USERHOME init.lua wrapped be in 'initialized' event as well?

No, because modules need to be loaded before `events.INITIALIZED` is
fired. This includes modules loaded from `~/.textadept/init.lua`. Wrap
your key bindings in an `events.INITIALIZED` handler. I need to update the
manual with this information.

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 Mon 09 Sep 2013 - 08:42:16 EDT

This archive was generated by hypermail 2.2.0 : Tue 10 Sep 2013 - 06:54:33 EDT