Re: [code] [textadept] Context menu

From: Mitchell <m.att.foicica.com>
Date: Thu, 29 May 2014 14:30:10 -0400 (Eastern Daylight Time)

Richard,

On Thu, 29 May 2014, Richard Philips wrote:

> Hi Mitchell,
>
> I can easily change:
>
> - menubar
>
> - tab_context_menu
>
>
> 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.

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 Thu 29 May 2014 - 14:30:10 EDT

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