On Mon, Mar 29, 2004 at 03:38:54PM +0000, Angus Leeming wrote: > Jean-Marc Lasgouttes wrote: > > Angus> Can you explain why we invoke switchKeyMap if the inset is > >>> not Angus> a collapable inset? > >>> > >>> It is some obscure RtL support thing. I do not know more about it. > > > > Angus> It should have a separate LFUN_INSET_RTL_TOGGLE. > > > > No, it rather seems to be a cleanup function that is added in a lot > > of places. > > Huh? toggleInset affects only collapsable insets: > > case LFUN_INSET_TOGGLE: > cur.clearSelection(); > if (!toggleInset(cur)) > cur.undispatched(); > else > bv->switchKeyMap(); > break;
Well, it is/was used for 'inset locking' in mathed (i.e. some 'large' insets acts as a unit when locked, no cursor movement inside etc...) Andre'