]> git.lyx.org Git - lyx.git/blobdiff - src/CutAndPaste.h
Natbib authoryear uses (Ref1; Ref2) by default.
[lyx.git] / src / CutAndPaste.h
index 2453601157106b63b1ec60faebf0e1d43347d2e7..802319d0d37297f452a36adb392d94f36f8e3c4c 100644 (file)
@@ -87,8 +87,9 @@ void pasteSelection(Cursor & cur, ErrorList &);
 /// Replace the current selection with the clipboard contents as text
 /// (internal or external: which is newer).
 /// Does handle undo. Does only work in text, not mathed.
-void pasteClipboardText(Cursor & cur, ErrorList & errorList,
-       bool asParagraphs = true);
+/// \p asParagraphs is only considered if plain text is pasted.
+void pasteClipboardText(Cursor & cur, ErrorList & errorList, bool asParagraphs,
+       Clipboard::TextType preferedType = Clipboard::LyXOrPlainTextType);
 /// Replace the current selection with the clipboard contents as graphic.
 /// Does handle undo. Does only work in text, not mathed.
 void pasteClipboardGraphics(Cursor & cur, ErrorList & errorList,