diff --git a/src/ChangeLog b/src/ChangeLog index 60eff4a3f5..6755c741eb 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +2006-12-10 Enrico Forestieri + + * text3.C (cursorPrevious): use cur.dispatch(FuncRequest(LFUN_UP)) + instead of cursorUp(cur). + (cursorNext): ditto for cur.dispatch(FuncRequest(LFUN_DOWN)) vs + cursorDown(cur). + 2006-12-08 Jürgen Spitzmüller * paragraph.C (startTeXParams, endTeXParams): diff --git a/src/text3.C b/src/text3.C index 18ee7bb08a..299e91e2fd 100644 --- a/src/text3.C +++ b/src/text3.C @@ -203,12 +203,12 @@ bool LyXText::cursorPrevious(LCursor & cur) bool updated = setCursorFromCoordinates(cur, x, 0); if (updated) cur.bv().update(); - updated |= cursorUp(cur); + cur.dispatch(FuncRequest(LFUN_UP)); if (cpar == cur.pit() && cpos == cur.pos()) { // we have a row which is taller than the workarea. The // simplest solution is to move to the previous row instead. - updated |= cursorUp(cur); + cur.dispatch(FuncRequest(LFUN_UP)); } cur.bv().updateScrollbar(); @@ -226,12 +226,12 @@ bool LyXText::cursorNext(LCursor & cur) bool updated = setCursorFromCoordinates(cur, x, cur.bv().workHeight() - 1); if (updated) cur.bv().update(); - updated |= cursorDown(cur); + cur.dispatch(FuncRequest(LFUN_DOWN)); if (cpar == cur.pit() && cpos == cur.pos()) { // we have a row which is taller than the workarea. The // simplest solution is to move to the next row instead. - updated |= cursorDown(cur); + cur.dispatch(FuncRequest(LFUN_DOWN)); } cur.bv().updateScrollbar(); diff --git a/status.14x b/status.14x index 6f2767b91c..b1c3f365e8 100644 --- a/status.14x +++ b/status.14x @@ -124,6 +124,9 @@ What's new - Fix slowness with lots of math on Windows (bug 2900). +- Fix a crash with PageDown/Up when the next/previous paragraph is an inset + taller than the workarea. + * Build/installation: - Allow autoconf 2.60 for building.