On Tuesday 02 September 2003 5:33 pm, Martin Vermeer wrote: > On Tue, Sep 02, 2003 at 05:27:21PM +0000, Angus Leeming spake thusly: > > Martin Vermeer wrote: > > ... > > > Sorry to be a pain, but I've just looked at the 1.4.x source. I think > > that the LFUN exists already as LFUN_DIALOG_SHOW_NEXT_INSET. This LFUN is > > meant to move the cursor to either > > just in front of the next non-editable inset. > > or > > to the first position inside an editable inset. > > and then open the associated dialog. However, I don't think that I got > > round to writing the code (I was feeling militant ;-) > > > > The code itself is conceptually identical to that written by Jean-Marc to > > open/close the next collapsed inset from the current cursor position. > > Where is that code? > > ...and why not then implement a separate LFUN_GOTO_NEXT_INSET and get the > above by putting LFUN_INSET_SHOW_DIALOG after it? > > One way or the other. Why do my small nice projects always develop > into mega-adventures? > > > HTH, > > Not really...
Don't be too down: grep INSET_TOGGLE *.C The toggle code in all it's glory is (text3.C): case LFUN_INSET_TOGGLE: bv->beforeChange(this); toggleInset(); bv->update(); bv->switchKeyMap(); break; Angus