On Tue, Sep 02, 2003 at 06:22:48PM +0000, Angus Leeming spake thusly: > 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?
... > 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 ...but am I right in seeing that this code doesn't actually move the cursor? I.e., contrary to your description above? No, this doesn't look very impossible. - Martin
pgp00000.pgp
Description: PGP signature