///
void pasteSelection(LCursor & cur, ErrorList &, size_t sel_index = 0);
-///
+/// Paste the paragraph list \p parlist at the position given by \p cur.
+/// Does not handle undo. Does only work in text, not mathed.
void pasteParagraphList(LCursor & cur, ParagraphList const & parlist,
textclass_type textclass, ErrorList & errorList);
InsetText & in, ErrorList &);
///
-std::string grabSelection(LCursor const & cur);
+docstring grabSelection(LCursor const & cur);
///
void eraseSelection(LCursor & cur);
///
-std::string grabAndEraseSelection(LCursor & cur);
+docstring grabAndEraseSelection(LCursor & cur);
// other selection methods
///
void selCut(LCursor & cur);