Re: [code] Invoking a menu bar item from command entry possible?

From: Victor T. <>
Date: Sat, 22 Jun 2013 12:05:31 -0700
Richard Philips wrote:
On 06/22/2013 07:50 AM, Victor T. wrote:

Quick question, how do you invoke a specific menu item from the command entry?


I always check:



The local menubar seems to show the command of interest but it isn't accessible outside of textadept/modules/textadept/menu.lua.

I could copy and paste the command and tables from there and call it with keys.run_command like menu.lua does but that's poor encapsulation and it doesn't promote ease of use if I have to keep referring and copying from menu.lua every time I need to do something like this.

-- You are subscribed to To change subscription settings, send an e-mail to To unsubscribe, send an e-mail to Received on Sat 22 Jun 2013 - 15:05:31 EDT

This archive was generated by hypermail 2.2.0 : Sun 23 Jun 2013 - 06:49:55 EDT