Andre Poenitz wrote:
On Tue, Nov 21, 2006 at 06:37:41PM +0100, Abdelrazak Younes wrote:
Recipe:
1) open the attached document
2) press arrow down key as many times as needed to reach the bottom of the LyX screen.
3) crash when attempting to move down to the next line (off-screen).

The crash happens in bruteFind2 (cursor.C line 99):

        InsetBase const * inset = &it.inset();
        Point o = c.bv().coordCache().getInsets().xy(inset);

I think the problem is that the next inset is not fully in the CoordCache. Only the top part of the formula in the next line is visible on screen.

Last time I was involved, the coord cache contained full top-level
paragraphs. No more, no less. So there wasn't the possibility of inset
being only 'partially' cached, as insets do not span several top-level
paragraphs.

Could you have a look at this then and see if this has changed? I don't know this part very much. And I am afraid nobody except you and maybe Martin knows about that in detail.

I think this is a recall that we should avoid single-point-of-failure situation as much as possible.

Abdel.

Reply via email to