* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author André Pönitz
+ * \author André Pönitz
* \author Stefan Schimanski
*
* Full author contact details are available in file CREDITS.
#include "frontends/FontMetrics.h"
#include "frontends/Painter.h"
-#include "support/assert.h"
+#include "support/lassert.h"
#include <boost/next_prior.hpp>
#include <cstdlib>
// go over the array and look for macros
for (size_t i = 0; i < size(); ++i) {
MathMacro * macroInset = operator[](i).nucleus()->asMacro();
- if (!macroInset)
+ if (!macroInset || macroInset->name_[0] == '^'
+ || macroInset->name_[0] == '_')
continue;
// get macro