]> git.lyx.org Git - lyx.git/commitdiff
Add comment
authorPavel Sanda <sanda@lyx.org>
Mon, 10 Dec 2007 19:50:12 +0000 (19:50 +0000)
committerPavel Sanda <sanda@lyx.org>
Mon, 10 Dec 2007 19:50:12 +0000 (19:50 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22068 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/InsetMathNest.cpp

index 0b4eb75d9118ac154f5894a95ddd56910b6096b4..99edfadb8bc4bffeac0fd28ca07beafc6732d65b 100644 (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());