]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathExtern.cpp
Memorise whether delims are extracted from MathExtern.
[lyx.git] / src / mathed / MathExtern.cpp
index 22124cc13d4a6e68888064167c83fe4c7e00a418..d101904e83f97e01162c09ccdc0168497fceb615 100644 (file)
@@ -500,7 +500,7 @@ bool testCloseParen(MathAtom const & at)
 MathAtom replaceParenDelims(const MathData & ar)
 {
        return MathAtom(new InsetMathDelim(const_cast<Buffer *>(ar.buffer()),
-               from_ascii("("), from_ascii(")"), ar));
+               from_ascii("("), from_ascii(")"), ar, true));
 }
 
 
@@ -519,7 +519,7 @@ bool testCloseBracket(MathAtom const & at)
 MathAtom replaceBracketDelims(const MathData & ar)
 {
        return MathAtom(new InsetMathDelim(const_cast<Buffer *>(ar.buffer()),
-               from_ascii("["), from_ascii("]"), ar));
+               from_ascii("["), from_ascii("]"), ar, true));
 }