]> git.lyx.org Git - lyx.git/blobdiff - src/CutAndPaste.cpp
Painter::wavyHorizontalLine(): new method for inline spellcheck purpose.
[lyx.git] / src / CutAndPaste.cpp
index b30974a401b92a70703ba0ca1be5784c141f304b..e7a17f17200eedce34dca0f2c9e4cc9ce562e7eb 100644 (file)
@@ -301,12 +301,12 @@ pasteSelectionHelper(Cursor & cur, ParagraphList const & parlist,
        pit = last_paste;
        pos = pars[last_paste].size();
 
+       // FIXME Should we do it here, or should we let updateLabels() do it?
        // Set paragraph buffers. It's important to do this right away
        // before something calls Inset::buffer() and causes a crash.
        for (pit_type p = startpit; p <= pit; ++p)
                pars[p].setBuffer(const_cast<Buffer &>(buffer));
 
-
        // Join (conditionally) last pasted paragraph with next one, i.e.,
        // the tail of the spliced document paragraph
        if (!empty && last_paste + 1 != pit_type(pars.size())) {