]> git.lyx.org Git - features.git/commitdiff
fix 'invalid cursor position after typing \sum'
authorAndré Pönitz <poenitz@gmx.net>
Mon, 23 Jul 2001 14:30:22 +0000 (14:30 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Mon, 23 Jul 2001 14:30:22 +0000 (14:30 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2310 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/ChangeLog
src/mathed/math_cursor.C

index a8b59de0fa5e8b0f51a54532eedd3576dc9f98a0..bc16d02cab203f6394752629e2bc3bf17f8fbbb3 100644 (file)
@@ -4,6 +4,8 @@
 
        * math_cursor.C: keep empty super/subscript a bit longer
 
+       * math_cursor.C: do not move into insets that don't have inner cells yet
+
 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
 
        * formula.C (insetAllowed): allow insertion of label
index caddb5450023304626af47ec03e81cca0b765b9c..f4939022018abba450b516afbff0f4a8f83b03c5 100644 (file)
@@ -745,7 +745,8 @@ in_word_set(s) << " \n";
                insert(p);
                if (p->nargs()) {
                        plainLeft();
-                       push(p, true);
+                       //push(p, true);
+                       Right();  // do not push for e.g. MathBigopInset
                        if (oldsel) 
                                SelPaste();
                }