From f55fde9babcf5dc9bd33b6b0abed349351cad489 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Wed, 27 Dec 2006 15:01:09 +0000 Subject: [PATCH] * 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 --- src/mathed/InsetMathNest.C | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/mathed/InsetMathNest.C b/src/mathed/InsetMathNest.C index 30f5d845b2..b9b29db0ec 100644 --- a/src/mathed/InsetMathNest.C +++ b/src/mathed/InsetMathNest.C @@ -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". -- 2.39.5