From: André Pönitz Date: Mon, 23 Jul 2001 14:30:22 +0000 (+0000) Subject: fix 'invalid cursor position after typing \sum' X-Git-Tag: 1.6.10~21028 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=86ea4e48e78ebc1e64c6886807785f917aacd426;p=lyx.git fix 'invalid cursor position after typing \sum' git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2310 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/ChangeLog b/src/mathed/ChangeLog index a8b59de0fa..bc16d02cab 100644 --- a/src/mathed/ChangeLog +++ b/src/mathed/ChangeLog @@ -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 * formula.C (insetAllowed): allow insertion of label diff --git a/src/mathed/math_cursor.C b/src/mathed/math_cursor.C index caddb54500..f493902201 100644 --- a/src/mathed/math_cursor.C +++ b/src/mathed/math_cursor.C @@ -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(); }