add menu items from a modules

From: anton <averbit....at.yandex.ru>
Date: Tue, 5 Jul 2011 15:12:52 -0700 (PDT)

Hi all,

it was probably asked but I haven't found it.
How can I change menu from other modules. I've tried the na´ve
solution like

table.insert(_m.textadept.menu.menubar, #_m.textadept.menu.menubar,
{Menu Item Body})
_m.textadept.menu:setmenu(_m.textadept.menu.menubar)

but it didn't work, menu simply disappears, TA leaves no messages.

Thanks,
anton
Received on Tue 05 Jul 2011 - 18:12:52 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 12:13:01 EST