if (sym_->inset == "cmex" || sym_->inset == "esint" ||
sym_->extra == "funclim")
scriptable_ = true;
+
+ // Cache the inset dimension.
+ // FIXME: put the resulting dim in BufferView.
+ dim_ = dim;
}
///
void metrics(MetricsInfo & mi, Dimension & dim) const;
///
+ Dimension const dimension(BufferView const &) const { return dim_; }
+ ///
void draw(PainterInfo &, int x, int y) const;
///
int kerning() const { return kerning_; }
mutable int kerning_;
///
mutable bool scriptable_;
+ /// FIXME: move this out to BufferView
+ mutable Dimension dim_;
};
} // namespace lyx