Add comment

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22068 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2007-12-10 19:50:12 +00:00
parent 73655dbbee
commit fceb0d93ba

View File

@ -726,6 +726,8 @@ void InsetMathNest::doDispatch(Cursor & cur, FuncRequest & cmd)
}
break;
// 'Locks' the math inset. A 'locked' math inset behaves as a unit
// that is traversed by a single <CursorLeft>/<CursorRight>.
case LFUN_INSET_TOGGLE:
cur.recordUndo();
lock(!lock());