git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38876
a592a061-630c-0410-9148-
cb99ea01b6c8
// FIXME: Care about the d->cursor_ flags to redraw if needed
Cursor old = d->cursor_;
mouseSetCursor(cur);
- bool badcursor = notifyCursorLeavesOrEnters(old, d->cursor_);
+ // the DEPM call in mouseSetCursor() might have destroyed the
+ // paragraph the cursor is in.
+ bool badcursor = old.fixIfBroken();
+ badcursor |= notifyCursorLeavesOrEnters(old, d->cursor_);
if (badcursor)
d->cursor_.fixIfBroken();
}
- Fixed crash with inverse search when document has changed (bug 7572).
+- Fixed crash when scrolling away from empty paragraph (bug 7591).
+
- Show the correct label after adding a line to an AMS Multline formula (bug
7511).