Add \ensuremath to the list of math completions

This commit is contained in:
Guillaume Munch 2015-08-23 11:56:04 +02:00 committed by Georg Baum
parent 2c0965b07c
commit 1d0d10eaa7
2 changed files with 3 additions and 0 deletions

View File

@ -2179,6 +2179,7 @@ MathCompletionList::MathCompletionList(Cursor const & cur)
globals.push_back(from_ascii("\\mathclap")); globals.push_back(from_ascii("\\mathclap"));
globals.push_back(from_ascii("\\mathllap")); globals.push_back(from_ascii("\\mathllap"));
globals.push_back(from_ascii("\\mathrlap")); globals.push_back(from_ascii("\\mathrlap"));
globals.push_back(from_ascii("\\ensuremath"));
MathWordList const & words = mathedWordList(); MathWordList const & words = mathedWordList();
MathWordList::const_iterator it2; MathWordList::const_iterator it2;
//lyxerr << "Globals completion commands: "; //lyxerr << "Globals completion commands: ";

View File

@ -37,6 +37,8 @@ What's new
* USER INTERFACE * USER INTERFACE
- Add \ensuremath to the list of math completions