* paragraph_pimpl.C

(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/branches/BRANCH_1_4_X@13884 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Martin Vermeer 2006-05-20 10:33:02 +00:00
parent 3b6c6ef32c
commit 5edcf97c19
2 changed files with 6 additions and 1 deletions

View File

@ -379,10 +379,10 @@ bool Paragraph::Pimpl::erase(pos_type pos)
if (tracking()) {
Change::Type changetype(changes_->lookup(pos));
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;

View File

@ -95,6 +95,11 @@ What's new
- Fix display of horizontal fill which appears at the end of a line
(bug 2508)
- Fix remaining "ghost" empty paragraphs when selecting and deleting multiple
paragraphs
- Fix crash when selecting and deleting "blue" paragraph break in CT mode
* Configuration/Installation:
- Replace the old sh version of lib/configure with the new python version