]> git.lyx.org Git - features.git/commitdiff
paste to any place in the inset
authorAndré Pönitz <poenitz@gmx.net>
Tue, 24 Jul 2001 17:26:44 +0000 (17:26 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Tue, 24 Jul 2001 17:26:44 +0000 (17:26 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2328 a592a061-630c-0410-9148-cb99ea01b6c8

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

index 97c0c78b62e388ec328c5b386988184ecd490217..17c0c257482f74006464c22a24ff8c66ad181173 100644 (file)
@@ -15,6 +15,8 @@
 
        * math_updowninset.C: fix drawing glitches
 
+       * math_cursor.C: paste to correct position
+
 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
 
        * formula.C (insetAllowed): allow insertion of label
index 6ac93ae45ff85e1cf81d91c8cf1417d71abb9872..ecbe5c645fbda7971d178740ed50851d7bf7b24b 100644 (file)
@@ -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