commit 1d0d10eaa724fbd2c839e7923468323243069cf4
Author: Guillaume Munch <[email protected]>
Date: Sun Aug 23 11:56:04 2015 +0200
Add \ensuremath to the list of math completions
diff --git a/src/mathed/InsetMathNest.cpp b/src/mathed/InsetMathNest.cpp
index 3d3308c..984245d 100644
--- a/src/mathed/InsetMathNest.cpp
+++ b/src/mathed/InsetMathNest.cpp
@@ -2179,6 +2179,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: ";
diff --git a/status.21x b/status.21x
index 14d5894..c343042 100644
--- a/status.21x
+++ b/status.21x
@@ -37,6 +37,8 @@ What's new
* USER INTERFACE
+- Add \ensuremath to the list of math completions
+