[EMAIL PROTECTED] wrote:
Author: younes
Date: Tue Nov 28 18:24:44 2006
New Revision: 16092

URL: http://www.lyx.org/trac/changeset/16092
Log:
* LyXText::cursorNext(): Fix crash with PageDown when the next paragraph is a 
math inset bigger than the screen.
* LyXText::cursorPrevious(): Implement the same check for safety reason.

This crash was very easy to reproduce with the attached file:
1) buffer-begin
2) PageDown

In 1.6 we should probably extend Cursor::up() and Cursor::down() to work with text inset and use that only.

Abdel.

Reply via email to