[LyX/master] Fix backspace deletion of selected items with change tracking

Kornel Benko kornel at lyx.org
Mon Jan 13 11:34:18 UTC 2020

Am Mon, 13 Jan 2020 12:03:13 +0100
schrieb Jürgen Spitzmüller <spitz at lyx.org>:

> Am Montag, den 13.01.2020, 12:01 +0100 schrieb Jürgen Spitzmüller:
> > Are you sure this is related to this commit? This is very unlikely.  

No, of course not. As I wrote 'After the last commits'.

> (more likely would be dvipost removal)

> Jürgen

Looking at the backtrace, I think it has to do with change tracking.
#0  0x00000000007ed966 in lyx::InsetText::isChanged(bool) const
(ic=false, this=0x0) at insets/InsetText.h:130
#1  0x00000000007ed966 in lyx::Buffer::updateBuffer(lyx::ParIterator&,
lyx::UpdateType) const
    (this=0x360ade0, parit=..., utype=utype at entry=lyx::InternalUpdate)
at Buffer.cpp:5351

The relevant call looks
while parit.inset().asInsetText() == NULL

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200113/9bd204ed/attachment.asc>

More information about the lyx-devel mailing list