As JMarc notes on the ML, the referenced commit modifies a full
buffer just in the middle of a dispatch action.
Further, this commit lead to an assertion [1], although it is not
clear to me whether the root cause of the assertion is the commit
that is being reverted here, or one of the issues we have with
previews and macros.
This reverts commit
73460423ad684b8728fe7bdf51f27dbc5cae5ea9.
[1] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg187921.html
bv->buffer().errors("Paste");
cur.clearSelection(); // bug 393
cur.finishUndo();
- bv->buffer().updatePreviews();
break;
}