>>>>> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes:

Martin> This appears to fix the bug in my limited testing (I couldn't
Martin> reproduce the bug in the test file, only in the enum example)

Yes, it looks reasonable and it works. Please apply to trunk and
branch.

Now the next problem (with or without the patch). Load attached file,
select part of 1st par and part of 2nd, Delete ==> crash!

Assertion triggered in Change::Type Changes::lookup(lyx::pos_type) const by 
failing check "false && "missing changes for pos"" in file 
../../1.4.x/src/changes.C:354

Backtrace follows:

#6  0x0816cf93 in Changes::lookup (this=0x8890d18, pos=3)
    at ../../1.4.x/src/changes.C:354
#7  0x082927d0 in Paragraph::Pimpl::lookupChange (this=0x888d268, pos=3)
    at ../../1.4.x/src/paragraph_pimpl.C:172
#8  0x08281e7b in Paragraph::lookupChange (this=0x8886770, pos=3)
    at ../../1.4.x/src/paragraph.C:1632
#9  0x082cd3c2 in LyXText::currentState (this=0x888b39c, [EMAIL PROTECTED])
    at dociterator.h:102
#10 0x081a3b8f in LCursor::currentState (this=0x87ca0b0)
    at ../../1.4.x/src/cursor.C:1163
#11 0x0822410e in LyXFunc::viewStatusMessage (this=0x87f44c0)
    at ../../1.4.x/src/lyxfunc.C:1929
#12 0x0845f570 in lyx::frontend::QtView::update_view_state (this=0x87dece8)
    at LyXView.h:83

JMarc

Reply via email to