]> git.lyx.org Git - lyx.git/blobdiff - src/CutAndPaste.C
Implement os::current_root for native Win32 builds.
[lyx.git] / src / CutAndPaste.C
index 125d173778a83911ab1d8fad3baba8420b19dbe0..1d567c022fb5d50d9033cb9273a1e66c8029d96c 100644 (file)
@@ -466,7 +466,6 @@ void cutSelection(LCursor & cur, bool doclear, bool realcut)
                if (doclear)
                        text->paragraphs()[begpit].stripLeadingSpaces();
 
-               text->redoParagraphs(begpit, begpit + 1);
                // cutSelection can invalidate the cursor so we need to set
                // it anew. (Lgb)
                // we prefer the end for when tracking changes
@@ -564,8 +563,6 @@ void pasteSelection(LCursor & cur, size_t sel_index)
                bufferErrors(cur.buffer(), el);
                cur.bv().showErrorList(_("Paste"));
 
-               text->redoParagraphs(cur.pit(), endpit);
-
                cur.clearSelection();
                cur.resetAnchor();
                text->setCursor(cur, ppp.first, ppp.second);