X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FCutAndPaste.h;h=802319d0d37297f452a36adb392d94f36f8e3c4c;hb=26910d5ec49395d1372dd5b9259f1bf6ed23de0a;hp=2453601157106b63b1ec60faebf0e1d43347d2e7;hpb=ead697d4b6c7122a2144b96712e6d2a3184f6fd8;p=lyx.git diff --git a/src/CutAndPaste.h b/src/CutAndPaste.h index 2453601157..802319d0d3 100644 --- a/src/CutAndPaste.h +++ b/src/CutAndPaste.h @@ -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,