At least this fixes one of them. (It took the cursor position inside the inset and compared it with the length of the paragraph containing the inset. Works OK as long as the inset content is longer than the containing paragraph :-( )
- Martin PS I'm on my way travelling the rest of the week... Washington DC, AGU Infotech. - M
Index: text3.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/text3.C,v retrieving revision 1.149 diff -u -p -r1.149 text3.C --- text3.C 13 Oct 2003 01:35:45 -0000 1.149 +++ text3.C 13 Oct 2003 13:29:01 -0000 @@ -1214,7 +1214,7 @@ dispatch_result LyXText::dispatch(FuncRe if (bv->theLockingInset()) { InsetOld * tli = bv->theLockingInset(); LyXCursor cursor = bv->text->cursor; - LyXFont font = bv->text->getFont(cursorPar(), cursor.pos()); + LyXFont font = bv->text->getFont(bv->text->cursorPar(), cursor.pos()); int width = tli->width(); int inset_x = font.isVisibleRightToLeft() ? cursor.x() - width : cursor.x();
pgp00000.pgp
Description: PGP signature