Angus Leeming wrote: > On Tuesday 19 March 2002 3:53 pm, Angus Leeming wrote: > >>Good! Then the interface is to be: >> >>LFUN_INSET_PROPERTIES, inset-properties >>Inset::toggleDialog(BufferView *) {} > > >>I'll code it up now. > > > JMarc, here's the patch. It seems to work perfectly. I believe you first > mentioned this to me (more than?) a year ago! Perhaps, the ideas just took time to > mature? > > I'll leave this in your tender care. Feel free to do whatever you want to it.
More thinking... Actually, this function should be layout-inset, to be parallel with the other layout- lfuns. And it should have an entry in the layout menu. However, here lies the problem: is that acceptable to have an entry "Layout>Inset...". This will have for example to replace Layout>Tabular, since they will be equivalent. I do not like that much, so I'd welcome ideas on how to treat the menu entries for this. I could add code to menu stuff to change the title depending on the inset name, but I guess it would just be a hack. JMarc