[code] [textadept] Removing language-specific context menus

From: Mitchell <m.att.foicica.com>
Date: Thu, 22 Jan 2015 16:23:16 -0500 (EST)


Background: Textadept allows language-specific modules to define a
language-specific context menu:

   _M[lang] = {
     ... menu ...

Whenever that language is loaded, that right-click context menu is used
instead of Textadept's default one. This was put in place long ago because
there was no easy way to edit a menu without completely redefining it. For
a while now Textadept has allowed users to edit
`textadept.menu.context_menu`, etc. directly as Lua tables. In my opinion,
this effectively eliminates the need for the above feature. (If a
language-module wants to add language-specific features to the context
menu, it can do so without destroying any edits another language-specific
module has made.)

Unless anyone has any particularly strong objections, this change will be
committed soon.


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 22 Jan 2015 - 16:23:16 EST

This archive was generated by hypermail 2.2.0 : Fri 23 Jan 2015 - 06:31:45 EST