MacroData const * Buffer::getBufferMacro(docstring const & name,
DocIterator const & pos) const
{
- LYXERR(Debug::DEBUG, "Searching for " << to_ascii(name) << " at " << pos);
+ LYXERR(Debug::MACROS, "Searching for " << to_ascii(name) << " at " << pos);
// if paragraphs have no macro context set, pos will be empty
if (pos.empty())
if (d->macro_lock)
return;
- LYXERR(Debug::DEBUG, "updateMacro of " << d->filename.onlyFileName());
+ LYXERR(Debug::MACROS, "updateMacro of " << d->filename.onlyFileName());
// start with empty table
d->macros.clear();
void Buffer::updateMacroInstances() const
{
- LYXERR(Debug::DEBUG, "updateMacroInstances for " << d->filename.onlyFileName());
+ LYXERR(Debug::MACROS, "updateMacroInstances for " << d->filename.onlyFileName());
ParIterator it = par_iterator_begin();
ParIterator end = par_iterator_end();
for (; it != end; it.forwardPos()) {
{ Debug::EXTERNAL, "external", N_("External template/inset messages")},
{ Debug::PAINTING, "painting", N_("RowPainter profiling")},
{ Debug::SCROLLING, "scrolling", N_("scrolling debugging")},
+ { Debug::MACROS, "macros", N_("Math macros")},
{ Debug::DEBUG, "debug", N_("Developers' general debug messages")},
{ Debug::ANY, "any", N_("All debugging messages")}
};