From 3b6e5373c2504f94e20bd021009777188de30c91 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Tue, 29 Jul 2008 13:50:17 +0000 Subject: [PATCH] Add FIXME. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25980 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/CutAndPaste.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/CutAndPaste.cpp b/src/CutAndPaste.cpp index ba82e9439f..f13664b35d 100644 --- a/src/CutAndPaste.cpp +++ b/src/CutAndPaste.cpp @@ -286,6 +286,9 @@ pasteSelectionHelper(Cursor & cur, ParagraphList const & parlist, // merge the first par of the insertion with the current par mergeParagraph(buffer.params(), pars, pit); } + //FIXME: We should call setBuffer() on each inserted paragraph. + // instead, we call setBuffer() for the main inset at the beginning + // of updateLabels() pit_type last_paste = pit + insertion.size() - 1; -- 2.39.5