mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
Fix bug 2449: Insertion of math delimiter cannot completely be undone
http://bugzilla.lyx.org/show_bug.cgi?id=2449 * Text3.cpp (dispatch): handle undo for LFUN_MATH_INSERT, LFUN_MATH_MATRIX, LFUN_MATH_DELIM and LFUN_MATH_BIGDELIM. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26174 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
97e6476feb
commit
e22b5d0718
@ -1499,6 +1499,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
|
||||
case LFUN_MATH_MATRIX:
|
||||
case LFUN_MATH_DELIM:
|
||||
case LFUN_MATH_BIGDELIM: {
|
||||
cur.recordUndo();
|
||||
cap::replaceSelection(cur);
|
||||
cur.insert(new InsetMathHull(hullSimple));
|
||||
checkAndActivateInset(cur, true);
|
||||
|
Loading…
Reference in New Issue
Block a user