Disable properly math inset locking

It is not clear whether this feature was once documented and used (it
would have been 20 years ago).

It is mostly disable now, but there was a remaining bit that is
annoying now.

I'll try to restore this later.
This commit is contained in:
Jean-Marc Lasgouttes 2023-12-07 17:21:45 +01:00
parent 9143878e5d
commit 94118b865e

View File

@ -1147,6 +1147,8 @@ void InsetMathNest::doDispatch(Cursor & cur, FuncRequest & cmd)
} }
break; break;
#if 0
// FIXME: resurrect this later
// 'Locks' the math inset. A 'locked' math inset behaves as a unit // 'Locks' the math inset. A 'locked' math inset behaves as a unit
// that is traversed by a single <CursorLeft>/<CursorRight>. // that is traversed by a single <CursorLeft>/<CursorRight>.
case LFUN_INSET_TOGGLE: case LFUN_INSET_TOGGLE:
@ -1154,6 +1156,7 @@ void InsetMathNest::doDispatch(Cursor & cur, FuncRequest & cmd)
lock(!lock()); lock(!lock());
cur.popForward(); cur.popForward();
break; break;
#endif
case LFUN_SELF_INSERT: case LFUN_SELF_INSERT:
// special case first for big delimiters // special case first for big delimiters