[code] Re: [textadept] Menu problem in textadept 8.7

From: Richard Philips <richard.philips.att.gmail.com>
Date: Fri, 20 May 2016 09:35:43 +0200

Hi Mitchell,

local x = textadept.menu.context_menu

does not give an error any more, but I cannot change the context_menu:

if textadept.menu.context_menu then
    local m = textadept.menu.context_menu
    m[#m+1] = SEPARATOR
    m[#m+1] = {'Close', io.close_buffer}
end

does not change the context menu.

Richard

On Friday, May 20, 2016, Mitchell <m.att.foicica.com> wrote:

> Hi Richard,
>
> On Thu, 19 May 2016, Richard Philips wrote:
>
> Hi Mitchell,
>>
>> In textadept 8.7 (Ubuntu 15.10, Windows 7), I have a problem with the
>> message:
>>
>> /home/rphilips/textadept/modules/textadept/menu.lua:570: stack overflow
>>
>> It is easy to simulate:
>>
>> in init.lua, just put a line:
>>
>> local x = textadept.menu.context_menu
>>
>
> Thanks, I committed a fix[1] that should be in the next nightly build. (I
> don't think it quite made it into tonight's build.)
>
> Cheers,
> Mitchell
>
> [1]: http://foicica.com/hg/textadept/rev/a72638babcfe
> --
> 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.
>
>

-- 
Richard Philips
<http://anet.be>
Bibliotheek UAntwerpen
Stadscampus - S.A.085
Prinsstraat 9 - 2000 Antwerpen
richard.philips.att.uantwerpen.be
T +32 3 265 49 71
<http://anet.be>
-- 
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 Fri 20 May 2016 - 03:35:43 EDT

This archive was generated by hypermail 2.2.0 : Fri 20 May 2016 - 06:28:24 EDT