]> git.neil.brown.name Git - edlib.git/commit
menu: support detaching the doc from a menu.
authorNeilBrown <neil@brown.name>
Sun, 3 Sep 2023 11:56:16 +0000 (21:56 +1000)
committerNeilBrown <neil@brown.name>
Mon, 4 Sep 2023 23:07:53 +0000 (09:07 +1000)
commit840c01b37cebedb438032aa51a870093ebf22f1b
treeb3b57ea2a0cb519a028e331d41bcc738cfceec7a
parent0a5e570b0f97dbd339e5ef870197fd8aa4d1f7d1
menu: support detaching the doc from a menu.

It might be use to create a menu doc once, and re-use it.

For this to work we need to be able to create a menu with an existing
doc.
A new mode for attach-menu allows this.

It will also be useful to be able to edit the detached document so add
global commands menu:add and menu:clear which do this.

Signed-off-by: NeilBrown <neil@brown.name>
data/modules.ini
lib-menu.c