X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FCutAndPaste.h;h=d7fec67c176a930b5133531eac25721b75f4134f;hb=4ed0312c51704780af1c452d3a82a84171b3725a;hp=e4ff08b36595ed16c2eb2d4ce5ec7518ca98690b;hpb=e35574b3ce0fae8e449ed033d9902e9da125971b;p=lyx.git diff --git a/src/CutAndPaste.h b/src/CutAndPaste.h index e4ff08b365..d7fec67c17 100644 --- a/src/CutAndPaste.h +++ b/src/CutAndPaste.h @@ -79,6 +79,8 @@ void copySelection(Cursor const & cur); void copySelectionToTemp(Cursor const & cur); /// void copyInset(Cursor const & cur, Inset * inset, docstring const & plaintext); +/// +void copyInsetToTemp(Cursor const & cur, Inset * inset); /** * Push the current selection to the cut buffer and the system clipboard. * \param plaintext plain text version of the selection for the system @@ -133,10 +135,14 @@ void pasteParagraphList(Cursor & cur, ParagraphList const & parlist, /** Needed to switch between different classes. This works * for a list of paragraphs beginning with the specified par. - * It changes layouts and character styles. + * It changes layouts and character styles. Errors are reported + * in the passed ErrorList. */ void switchBetweenClasses(DocumentClassConstPtr oldone, - DocumentClassConstPtr newone, InsetText & in, ErrorList &); + DocumentClassConstPtr newone, InsetText & in, ErrorList & el); +/// Same but without error reporting. +void switchBetweenClasses(DocumentClassConstPtr oldone, + DocumentClassConstPtr newone, InsetText & in); /// Get the current selection as a string. Does not change the selection. /// Does only work if the whole selection is in mathed.