]> git.lyx.org Git - lyx.git/blobdiff - src/CutAndPaste.C
bug 2298: cursorTop/Bottom/Home/End does not redraw after dEPM
[lyx.git] / src / CutAndPaste.C
index 4dcf4f1806a1ca864c058f04d146dcd4bc1f4ce4..9c78a841ed2ba841a508062847410dc1a5e01f89 100644 (file)
@@ -234,7 +234,8 @@ pasteSelectionHelper(Buffer const & buffer,
        pit = last_paste;
        pos = pars[last_paste].size();
 
-       // Maybe some pasting.
+       // 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())) {
                if (pars[last_paste + 1].hasSameLayout(pars[last_paste])) {
                        mergeParagraph(buffer.params(), pars, last_paste);