Juergen Spitzmueller wrote: > > I think you should apply it. > > I'll do so.
Unfortunately, it turned out that the fix had some side-effects: it breaks coord calculation for nested math insets (e.g. grid insets), because they are not HIGHLY_EDITABLE (why actually?). The attached patch fixes it. Can I apply it? Jürgen
Index: bufferview_funcs.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/bufferview_funcs.C,v retrieving revision 1.156 diff -u -r1.156 bufferview_funcs.C --- bufferview_funcs.C 7 Nov 2005 12:15:26 -0000 1.156 +++ bufferview_funcs.C 7 Nov 2005 15:48:18 -0000 @@ -163,7 +163,8 @@ CursorSlice const & sl = dit[i]; int xx = 0; int yy = 0; - if (sl.inset().editable() == InsetBase::HIGHLY_EDITABLE) + if (sl.inset().asMathInset() + || sl.inset().editable() == InsetBase::HIGHLY_EDITABLE) sl.inset().cursorPos(sl, boundary && ((i+1) == dit.depth()), xx, yy); x += xx; y += yy;