* src/mathed/InsetMathNest.C (do_dispatch):

- catch LFUN_QUOTE_INSERT and output plain quote (bug 3044).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16403 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2006-12-27 15:01:09 +00:00
parent c4307d1dd3
commit f55fde9bab

View File

@ -983,6 +983,12 @@ void InsetMathNest::doDispatch(LCursor & cur, FuncRequest & cmd)
interpretChar(cur, '^');
break;
case LFUN_QUOTE_INSERT:
// interpret this as if a straight " was typed
recordUndo(cur, Undo::ATOMIC);
interpretChar(cur, '\"');
break;
// FIXME: We probably should swap parts of "math-insert" and "self-insert"
// handling such that "self-insert" works on "arbitrary stuff" too, and
// math-insert only handles special math things like "matrix".