]> git.lyx.org Git - features.git/commitdiff
* src/mathed/InsetMathNest.C (do_dispatch):
authorJürgen Spitzmüller <spitz@lyx.org>
Wed, 27 Dec 2006 15:01:09 +0000 (15:01 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Wed, 27 Dec 2006 15:01:09 +0000 (15:01 +0000)
- 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

src/mathed/InsetMathNest.C

index 30f5d845b29c853fccd3291ee9e05f31355c0723..b9b29db0ecc6ea68d960d2407b67bed3f3c78309 100644 (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".