Re: [code] [textadept] Context menu

From: Robert Gieseke <rob.g.att.web.de>
Date: Thu, 29 May 2014 20:36:53 +0200

Am 29/05/14 20:30, schrieb Mitchell:
> Richard,
>
> On Thu, 29 May 2014, Richard Philips wrote:
>
>> I have problems with changing:
>>
>> - context_menu
>>
>> (Always reverts to default)
>>
>>
>> Can you confirm, it works with nightly builds?
>
> Seems to work for me:
>
> m = textadept.menu.context_menu
> m[#m+1]={'Bye',quit}
>
> I created a new buffer, changed syntax highlighting, etc. and still get
> the correct menu entries.
>
> If you're still having trouble, please post what you're trying to do.
>
Richard, where you maybe trying to do

textadept.menu.context_menu = {{'Bye',quit}}

(Which doesn't work.)
I tried that at first as well, I think it's not possible yet.

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 Thu 29 May 2014 - 14:36:53 EDT

This archive was generated by hypermail 2.2.0 : Fri 30 May 2014 - 06:52:06 EDT