See attached. OK to commit?
- Martin
Index: text2.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/text2.C,v retrieving revision 1.602 diff -u -r1.602 text2.C --- text2.C 5 Mar 2005 10:59:29 -0000 1.602 +++ text2.C 6 Mar 2005 18:28:09 -0000 @@ -811,6 +811,11 @@ c = end - 1; } + if (row.pos() < end && c >= end + && par.isInset(end) && par.getInset(end)->display()) { + c = end - 1; + } + x = int(tmpx) + xo; return c - row.pos(); } Index: ChangeLog =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v retrieving revision 1.2133 diff -u -r1.2133 ChangeLog --- ChangeLog 5 Mar 2005 10:59:28 -0000 1.2133 +++ ChangeLog 6 Mar 2005 18:28:11 -0000 @@ -1,3 +1,7 @@ +2005-03-06 Martin Vermeer <[EMAIL PROTECTED]> + + * text2.C: fix for cursor up/down stuck in math [bug 1792] + 2005-03-05 Johnathan Burchill <[EMAIL PROTECTED]> * text2.C: fix for stuck cursor when traversing two @@ -13,7 +17,7 @@ * paragraph.C: fix for confused change tracker when pasting text that begins with a lineseparator. [bug 1827] (setChange(0, Change::INSERTED);) - + * paragraph_funcs.C: fix for lost changes on triple-paste in change tracking mode [bug 1827] (par.setChange()).
pgpi932TB1CNe.pgp
Description: PGP signature