mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
parent
70b0df85c8
commit
d58d3f6774
@ -1451,9 +1451,10 @@ bool Cursor::macroModeClose()
|
||||
|
||||
MathWordList const & words = mathedWordList();
|
||||
MathWordList::const_iterator it = words.find(name);
|
||||
bool keep_mathmode = it != words.end() && (it->second.inset == "font"
|
||||
bool keep_mathmode = user_macro
|
||||
|| (it != words.end() && (it->second.inset == "font"
|
||||
|| it->second.inset == "oldfont"
|
||||
|| it->second.inset == "mbox");
|
||||
|| it->second.inset == "mbox"));
|
||||
bool ert_macro = !user_macro && it == words.end() && atomAsMacro;
|
||||
|
||||
if (in && in->currentMode() == Inset::TEXT_MODE
|
||||
|
Loading…
Reference in New Issue
Block a user