From d2e5c09218c5df611c118ea930e5d6e522422219 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Tue, 24 Jul 2001 17:26:44 +0000 Subject: [PATCH] paste to any place in the inset git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2328 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/ChangeLog | 2 ++ src/mathed/math_cursor.C | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mathed/ChangeLog b/src/mathed/ChangeLog index 97c0c78b62..17c0c25748 100644 --- a/src/mathed/ChangeLog +++ b/src/mathed/ChangeLog @@ -15,6 +15,8 @@ * math_updowninset.C: fix drawing glitches + * math_cursor.C: paste to correct position + 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 6ac93ae45f..ecbe5c645f 100644 --- a/src/mathed/math_cursor.C +++ b/src/mathed/math_cursor.C @@ -98,7 +98,7 @@ struct Selection void paste(MathCursor & cursor) const { - cursor.cursor().cell().push_back(glue()); + cursor.insert(glue()); } // glues selection to one cell