From d6c90178f3526c96b1421e84bb11d23d2f964266 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Thu, 19 Sep 2002 06:52:13 +0000 Subject: [PATCH] revert to 1.1.6 behaviour for \macroname{ git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5318 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_cursor.C | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mathed/math_cursor.C b/src/mathed/math_cursor.C index 1ce05618b6..5c20087256 100644 --- a/src/mathed/math_cursor.C +++ b/src/mathed/math_cursor.C @@ -1232,7 +1232,9 @@ bool MathCursor::interpret(char c) // leave macro mode and try again if necessary macroModeClose(); - if (c != ' ') + if (c == '{') + niceInsert(MathAtom(new MathBraceInset)); + else if (c != ' ') interpret(c); return true; } -- 2.39.2