-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);