]> git.lyx.org Git - features.git/blobdiff - src/CutAndPaste.h
Unify naming of menu items
[features.git] / src / CutAndPaste.h
index 66df6b590406973bdbbe52bf40406651566cbb42..fcbac19a8982f00ff7f156cdd3ab75af2d8e7763 100644 (file)
@@ -16,7 +16,9 @@
 
 #include "DocumentClassPtr.h"
 
-#include "support/docstring.h"
+#include "support/strfwd.h"
+
+#include "insets/Inset.h"
 
 #include "frontends/Clipboard.h"
 
 
 namespace lyx {
 
-class DocumentClass;
 class ErrorList;
 class InsetText;
 class Cursor;
+class CursorData;
+class CursorSlice;
 class ParagraphList;
 
 namespace cap {
@@ -59,12 +62,14 @@ void replaceSelection(Cursor & cur);
  *                system clipboard. Set this to false to only delete the
  *                selection.
  */
-void cutSelection(Cursor & cur, bool doclear = true, bool realcut = true);
+void cutSelection(Cursor & cur, bool realcut = true);
 /// Like cutSelection, but only put to temporary cut buffer
-void cutSelectionToTemp(Cursor & cur, bool doclear = true, bool realcut = true);
+void cutSelectionToTemp(Cursor & cur, bool realcut = true);
 
 /// Push the current selection to the cut buffer and the system clipboard.
 void copySelection(Cursor const & cur);
+/// Like copySelection, but only put to temporary cut buffer
+void copySelectionToTemp(Cursor const & cur);
 ///
 void copyInset(Cursor const & cur, Inset * inset, docstring const & plaintext);
 /**