]> git.lyx.org Git - lyx.git/blobdiff - src/CutAndPaste.cpp
Cleanup the TEXT_TO_INSET_OFFSET mess. This correction is done now once in InsetText...
[lyx.git] / src / CutAndPaste.cpp
index 7aeed7a2cdd60f07f8dd005ca7bd91e0d9a7e6f8..1b8e73b37963545e55300c6a82ff7bb513e80ec9 100644 (file)
@@ -690,6 +690,12 @@ void clearSelection()
 }
 
 
+void clearCutStack()
+{
+       theCuts.clear();
+}
+
+
 docstring getSelection(Buffer const & buf, size_t sel_index)
 {
        return sel_index < theCuts.size()