(Paragraph::Pimpl::erase): Fix crash when selecting and erasing
"blue" paragraph break in CT mode (report JMarc)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13885
a592a061-630c-0410-9148-
cb99ea01b6c8
if (tracking()) {
Change::Type changetype(changes_->lookup(pos).type);
- changes_->record(Change(Change::DELETED), pos);
// only allow the actual removal if it was /new/ text
if (changetype != Change::INSERTED) {
+ changes_->record(Change(Change::DELETED), pos);
if (pos < size() && owner_->isInset(pos))
owner_->getInset(pos)->markErased(true);
return false;