X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FCutAndPaste.h;h=4149f1983b135a0465d72e6e6a7041513f0baaa7;hb=889182eb1a19da1cb4d5b5efeea434a5e6592ef0;hp=802319d0d37297f452a36adb392d94f36f8e3c4c;hpb=c14b9e67bcf6ac16534a6d37df766c4583722045;p=lyx.git diff --git a/src/CutAndPaste.h b/src/CutAndPaste.h index 802319d0d3..4149f1983b 100644 --- a/src/CutAndPaste.h +++ b/src/CutAndPaste.h @@ -88,7 +88,7 @@ void pasteSelection(Cursor & cur, ErrorList &); /// (internal or external: which is newer). /// Does handle undo. Does only work in text, not mathed. /// \p asParagraphs is only considered if plain text is pasted. -void pasteClipboardText(Cursor & cur, ErrorList & errorList, bool asParagraphs, +bool 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. @@ -96,7 +96,7 @@ void pasteClipboardGraphics(Cursor & cur, ErrorList & errorList, Clipboard::GraphicsType preferedType = Clipboard::AnyGraphicsType); /// Replace the current selection with cut buffer \c sel_index /// Does handle undo. Does only work in text, not mathed. -void pasteFromStack(Cursor & cur, ErrorList & errorList, size_t sel_index); +bool pasteFromStack(Cursor & cur, ErrorList & errorList, size_t sel_index); /// Paste the clipboard as simple text, removing any formatting void pasteSimpleText(Cursor & cur, bool asParagraphs);