From: Guillaume Munch Date: Sun, 23 Aug 2015 09:05:01 +0000 (+0200) Subject: Add \ensuremath to the list of math completions X-Git-Tag: 2.2.0alpha1~379 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=fde3963d99cf77d873062a6d1cda969a2e764bc0;p=lyx.git Add \ensuremath to the list of math completions --- diff --git a/src/mathed/InsetMathNest.cpp b/src/mathed/InsetMathNest.cpp index 133c336334..bef68dc5ad 100644 --- a/src/mathed/InsetMathNest.cpp +++ b/src/mathed/InsetMathNest.cpp @@ -2193,6 +2193,7 @@ MathCompletionList::MathCompletionList(Cursor const & cur) globals.push_back(from_ascii("\\mathclap")); globals.push_back(from_ascii("\\mathllap")); globals.push_back(from_ascii("\\mathrlap")); + globals.push_back(from_ascii("\\ensuremath")); MathWordList const & words = mathedWordList(); MathWordList::const_iterator it2; //lyxerr << "Globals completion commands: ";