Status bar information for InsetMathKern

\mkern is invisible in mathed as a consequence of 10c8d51b. Add information in
the status bar when it is there.
This commit is contained in:
Guillaume Munch 2016-12-27 19:25:46 +01:00
parent 2f03e156ce
commit 750cbde62e
2 changed files with 10 additions and 0 deletions

View File

@ -77,4 +77,12 @@ void InsetMathKern::normalize(NormalStream & os) const
}
void InsetMathKern::infoize2(odocstream & os) const
{
os << "Kern";
if (!wid_.empty())
os << ": " << from_utf8(wid_.asLatexString());
}
} // namespace lyx

View File

@ -43,6 +43,8 @@ public:
///
void htmlize(HtmlStream &) const { }
///
void infoize2(odocstream & os) const;
///
InsetCode lyxCode() const { return MATH_KERN_CODE; }
private: