Re: [code] [textadept] Textadept 11.0 alpha

From: Robert Gieseke <rob.g.att.web.de>
Date: Sat, 4 Apr 2020 12:04:33 +0200

Hi Mitchell,

On 02.04.20 17:15, Robert Gieseke wrote:
> On 02.04.20 17:14, Mitchell wrote:
>>> However, now i cannot reproduce it anymore when i don't use
>>> event.INITIALIZED, so it must have been something else!
>>
>> Ah, that happens when an initialization error occurs. Textadept wants to create a message buffer to show the error message, but it cannot do so. Normally in this case you should get a popup dialog with the error message, but it seems you did not for whatever reason.
>
> It turned into an pretty infinite loop, i'll let you know if i can ever
> reproduce this ...

here is one simplified example `init.lua` which leads to infinite loop
until i hit the message box's ok button:

ui.tabs = false
require("notexisting")

As `notexisting` is not existing this is probably not super common
problem but maybe can still be caught somehow?

Cheers
Robert

-- 
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 Sat 04 Apr 2020 - 06:04:33 EDT

This archive was generated by hypermail 2.2.0 : Sat 04 Apr 2020 - 06:27:13 EDT