- add missing recordUndo to LFUN_CLIPBOARD_PASTE /
LFUN_PRIMARY_SELECTION_PASTE (bug 4371)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21715
a592a061-630c-0410-9148-
cb99ea01b6c8
// pass to InsertPlaintextString, but
// only if we have multi-cell content
if (clip.find_first_of(from_ascii("\t\n")) != docstring::npos) {
+ cur.recordUndoInset(INSERT_UNDO);
if (insertPlaintextString(cur.bv(), clip, false)) {
// content has been replaced,
// so cursor might be invalid