mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +00:00
Fix bug #6965 (Crash editing ERT in math mode)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35903 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3f95c38ab8
commit
295fb6edd7
@ -639,6 +639,7 @@ bool MathMacro::notifyCursorLeaves(Cursor const & old, Cursor & cur)
|
|||||||
inset_cursor.cell().erase(inset_cursor.pos());
|
inset_cursor.cell().erase(inset_cursor.pos());
|
||||||
inset_cursor.cell().insert(inset_cursor.pos(),
|
inset_cursor.cell().insert(inset_cursor.pos(),
|
||||||
createInsetMath(unfolded_name, &cur.buffer()));
|
createInsetMath(unfolded_name, &cur.buffer()));
|
||||||
|
cur.resetAnchor();
|
||||||
cur.updateFlags(cur.disp_.update() | Update::SinglePar);
|
cur.updateFlags(cur.disp_.update() | Update::SinglePar);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -183,6 +183,9 @@ What's new
|
|||||||
|
|
||||||
- Make the input completion case sensitive again (bug 6983).
|
- Make the input completion case sensitive again (bug 6983).
|
||||||
|
|
||||||
|
- Fix crash when editing a macro name under some circumstances (for example,
|
||||||
|
when the macro is followed by a script inset and another macro) (bug 6965).
|
||||||
|
|
||||||
|
|
||||||
* DOCUMENTATION AND LOCALIZATION
|
* DOCUMENTATION AND LOCALIZATION
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user