Re: [code] [textadept] Textadept 7.0 beta 4

From: Mitchell <>
Date: Tue, 1 Oct 2013 16:46:40 -0400 (Eastern Daylight Time)

On Tue, 1 Oct 2013, Mitchell wrote:

> Hi Ryan,
> On Tue, 1 Oct 2013, Ryan Pusztai wrote:
>> So I missed changing 'gui.' to 'ui.', but the error is not helpful at
>> all
>> when figuring out what I missed next. I do currently use Common, but I
>> forked it because I went a different way with the display_name module.
>> You
>> can check out "beta 2" working Common here:
>> This is the hardest update I have had so far. So I think there might
>> be a
>> root cause to the error I am getting.
> I'm really sorry you're having so much trouble with the update. I am
> going to take a look at your repo and try and help figure it out.
> The primary cause of this problem is that you are probably doing some
> sort of operation at the module 'require' level (before ta is finished
> initializing) that causes `events.UPDATE_UI` to be fired.
> `buffer.get_lexer()` and `buffer.set_lexer()` do not exist until ta
> finishes initializing.

To clarify: while the above statement is valid, it also happens when
errors occur while loading modules (for example, indexing a nil value like
`_M.textadept.whatever`). Sorry if this sounds obvious, but I hadn't
thought about it before.


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Tue 01 Oct 2013 - 16:46:40 EDT

This archive was generated by hypermail 2.2.0 : Tue 01 Oct 2013 - 17:19:37 EDT