Abdelrazak Younes wrote:
1) Open Intro.lyx
2) PagesDown 5 times
The following assertion is triggered in text2.C:994 (LyXText::editXY()):
// This should be just before or just behind the
// cursor position set above.
BOOST_ASSERT((pos != 0 && inset == pars_[pit].getInset(pos - 1))
|| inset == pars_[pit].getInset(pos));
The problem is that at pit=13 and pos-1=317 we have
inset != pars_[pit].getInset(pos - 1)
This happens anytime inset is an InsetRef. The problem is that I don't
see any InsetRef in the screen. Maybe the lyx file contains an empty
inset that is not shown on screen but is really there. This might
explain why the cursor goes through it...
Abdel.