I have still this patch in my tree. Ok to apply?

          Jug

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen Vigna        E-Mail:  [EMAIL PROTECTED]
Mitterstrich 151/A
I-39050 Steinegg        Web:     http://www.lyx.org/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
? diff.patch
? qt-build
? xforms-build
? src/ext_l10n.h
Index: src/insets/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/ChangeLog,v
retrieving revision 1.549
diff -u -p -r1.549 ChangeLog
--- src/insets/ChangeLog        6 Jan 2003 14:02:23 -0000       1.549
+++ src/insets/ChangeLog        7 Jan 2003 16:19:41 -0000
@@ -1,3 +1,8 @@
+2002-12-17  Juergen Vigna  <[EMAIL PROTECTED]>
+
+       * insettext.C (localDispatch): hopefully fixed cursor up down
+       movement on leaving other insets.
+
 2003-01-06  Michael Schmitt <[EMAIL PROTECTED]>
 
        * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
Index: src/insets/insettext.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/insettext.C,v
retrieving revision 1.338
diff -u -p -r1.338 insettext.C
--- src/insets/insettext.C      6 Jan 2003 14:02:24 -0000       1.338
+++ src/insets/insettext.C      7 Jan 2003 16:19:42 -0000
@@ -1223,20 +1223,10 @@ Inset::RESULT InsetText::localDispatch(F
                                }
                                break;
                        case FINISHED_DOWN:
-                       {
-                               LyXText *lt = getLyXText(bv);
-                               if (lt->cursor.irow()->next()) {
-                                       lt->setCursorFromCoordinates(
-                                               bv, lt->cursor.ix() + inset_x,
-                                               lt->cursor.iy() -
-                                               lt->cursor.irow()->baseline() +
-                                               lt->cursor.irow()->height() + 1);
-                                       lt->cursor.x_fix(lt->cursor.x());
+                               if ((result = moveDown(bv)) >= FINISHED) {
                                        updateLocal(bv, CURSOR, false);
-                               } else {
                                        bv->unlockInset(this);
                                }
-                       }
                                break;
                        default:
                                result = DISPATCHED;

Reply via email to