for (; lit != eit; ++lit) {
switch (lit->inset->lyxCode()) {
- case InsetOld::TABULAR_CODE: {
+ case InsetBase::TABULAR_CODE: {
InsetTabular * it = static_cast<InsetTabular*>(lit->inset);
it->buffer(&buffer);
break;
if (doclear)
text->paragraphs()[begpit].stripLeadingSpaces();
- text->redoParagraphs(begpit, begpit + 1);
// cutSelection can invalidate the cursor so we need to set
// it anew. (Lgb)
// we prefer the end for when tracking changes
bufferErrors(cur.buffer(), el);
cur.bv().showErrorList(_("Paste"));
- text->redoParagraphs(cur.pit(), endpit);
-
cur.clearSelection();
cur.resetAnchor();
text->setCursor(cur, ppp.first, ppp.second);