This fixes lyxmathsym characters as macro arguments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26802
a592a061-630c-0410-9148-
cb99ea01b6c8
+#include "InsetMathChar.h"
#include "MathCompletionList.h"
#include "MathExtern.h"
#include "MathStream.h"
#include "MathCompletionList.h"
#include "MathExtern.h"
#include "MathStream.h"
// Print remaining macros
for (; i < cells_.size(); ++i) {
if (cell(i).size() == 1
// Print remaining macros
for (; i < cells_.size(); ++i) {
if (cell(i).size() == 1
- && cell(i)[0].nucleus()->asCharInset()) {
+ && cell(i)[0].nucleus()->asCharInset()
+ && cell(i)[0].nucleus()->asCharInset()->getChar() < 0x80) {
if (first)
os << " ";
os << cell(i);
if (first)
os << " ";
os << cell(i);