]> git.lyx.org Git - features.git/commitdiff
Add \ensuremath to the list of math completions
authorGuillaume Munch <gadmm@free.fr>
Sun, 23 Aug 2015 09:05:01 +0000 (11:05 +0200)
committerGeorg Baum <baum@lyx.org>
Sun, 23 Aug 2015 09:05:01 +0000 (11:05 +0200)
src/mathed/InsetMathNest.cpp

index 133c336334be90babb820ee841d29de90209afb0..bef68dc5add25c83eb1550eb5e7fbb0e562c3af5 100644 (file)
@@ -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: ";