From 3d354d14c41ba184df9fcd7298e64adceca6f9a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Tue, 7 Aug 2001 13:50:56 +0000 Subject: [PATCH] fix 'off by one' cursor position when handling simultaneous super- and subscripts git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2442 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/BUGS | 13 ------------- src/mathed/math_cursor.C | 2 +- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/src/mathed/BUGS b/src/mathed/BUGS index c19a7f63d6..a3453bb863 100644 --- a/src/mathed/BUGS +++ b/src/mathed/BUGS @@ -32,21 +32,8 @@ General hints for bug reports: ---------------------------------------------------------------------- -"R. Lahaye" -- Mathematical \frac with subscripts, for example: - \begin_inset Formula $\frac{\alpha _{1} }{\beta _{2} }$ - is wrongly displayed - - Dekel: -Array/eqnarray - -// - Ctrl+enter doesn't work - -// - When creating a matrix/align/eqnarray all columns are centered. - - Macros: ?? - When changing the macro definition, all instances are not updated. diff --git a/src/mathed/math_cursor.C b/src/mathed/math_cursor.C index ace2f12289..56f2f8bd0f 100644 --- a/src/mathed/math_cursor.C +++ b/src/mathed/math_cursor.C @@ -637,8 +637,8 @@ void MathCursor::interpret(string const & s) p = new MathScriptInset(up, !up); } insert(p); - plainLeft(); } + plainLeft(); push(p, true); if (up) p->up(true);