On Wed, Sep 03, 2003 at 11:23:38AM +0200, Jean-Marc Lasgouttes spake thusly: > >> Sigh. Jean Marc's code. Ask him how it is supposed to work. (He is > >> now around again.) As I said, I never tried to code up > >> LFUN_DIALOG_SHOW_NEXT_INSET. > >> > >> Angus > > Martin> Jean-Marc!?! > > Hello! > > Could you summarize the question again? I am a bit lost... > > JMarc
Anyway, welcome back Jean-Marc! Here is the patch, version 3 (or was that 4?). Now it 1) limits the mouse click to the inset's button area as it should, and 2) allows the use of LFUN_INSET_SHOW_DIALOG to bring up the dialogs of insets like bibtex, include, toc and floatlist. The cursor has to be in front of the inset for this to work. I tested the functioning of LFUN_INSET_SHOW_DIALOG by making an menu entry for it, and it works (when will the minibuffer work again? Grumble, grumble). Changelog: 2003-09-03 Martin Vermeer <[EMAIL PROTECTED]> * LyXAction.C: * box.C: * box.h: * lfuns.h: * lyxfunc.C: * text3.C: * insets/insetbibtex.C: * insets/insetbibtex.h: * insets/insetcommand.h: * insets/insetfloatlist.C: * insets/insetfloatlist.h: * insets/insetinclude.C: * insets/insetinclude.h: * insets/insettoc.C: * insets/insettoc.h: Restricts the mouse click functionality of insets like bibtex, include, toc and floatlist to the visible button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring up the dialogs. Cursor has to be in front of the inset (i.e. start of row) for this to function. - Martin
pgp00000.pgp
Description: PGP signature