mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +00:00
* 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:
parent
3b6c6ef32c
commit
5edcf97c19
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user