From: André Pönitz Date: Tue, 24 Jul 2001 17:26:44 +0000 (+0000) Subject: paste to any place in the inset X-Git-Tag: 1.6.10~21014 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=d2e5c09218c5df611c118ea930e5d6e522422219;p=features.git paste to any place in the inset git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2328 a592a061-630c-0410-9148-cb99ea01b6c8 --- 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