Contents

_M.textadept.menu

Provides dynamic menus for Textadept. This module should be required last, after _M.textadept.keys since it looks up defined key commands to show them in menus.


Functions


rebuild_command_tables ()

Rebuilds the tables used by select_command(). This should be called every time set_menubar() is called.


select_command ()

Prompts the user with a filteredlist to run menu commands.


set_contextmenu (menu_table)

Sets gui.context_menu from the given menu table.

Parameters:

See also:


set_menubar (menubar)

Sets gui.menubar from the given table of menus.

Parameters:

See also:


Tables


context_menu

Contains the default right-click context menu.


menubar

Contains the main menubar.