LYXERR0("Inset: " << this << " LyX Code: " << lyxCode()
<< " name: " << iname);
s << "LyX Code: " << lyxCode() << " name: " << iname;
- LASSERT(false, /**/);
+ LATTEST(false);
throw ExceptionMessage(BufferException,
from_ascii("Inset::buffer_ member not initialized!"), s.str());
}
}
-void Inset::forToc(docstring &, size_t) const
+void Inset::forOutliner(docstring &, size_t) const
{
}
}
+bool Inset::resetFontEdit() const
+{
+ return getLayout().resetsFont() || !inheritFont();
+}
+
+
docstring Inset::completionPrefix(Cursor const &) const
{
return docstring();