/// create inset with single script and given nucleus
MathScriptInset(MathAtom const & at, bool up);
///
- std::auto_ptr<InsetBase> clone() const;
+ mode_type currentMode() const { return MATH_MODE; }
///
void metrics(MetricsInfo & mi, Dimension & dim) const;
///
/// say whether we have displayed limits
void infoize2(std::ostream & os) const;
protected:
- ///
- void priv_dispatch(LCursor & cur, FuncRequest & cmd);
+ virtual void doDispatch(LCursor & cur, FuncRequest & cmd);
private:
+ virtual std::auto_ptr<InsetBase> doClone() const;
/// returns x offset for main part
int dxx() const;
/// returns width of nucleus if any