///
mode_type currentMode() const;
///
- bool metrics(MetricsInfo & mi, Dimension & dim) const;
+ void metrics(MetricsInfo & mi, Dimension & dim) const;
///
void draw(PainterInfo &, int x, int y) const;
///
/// get notification when the cursor leaves this inset
bool notifyCursorLeaves(Cursor & cur);
///
- //bool insetAllowed(Code code) const;
+ //bool insetAllowed(InsetCode code) const;
///
void addPreview(graphics::PreviewLoader &) const;
///
static int displayMargin() { return 12; }
+
+ /// Force inset into LTR environment if surroundings are RTL?
+ virtual bool forceLTR() const { return true; }
protected:
InsetMathHull(InsetMathHull const &);
docstring eolString(row_type row, bool emptyline, bool fragile) const;
private:
- virtual std::auto_ptr<Inset> doClone() const;
+ virtual Inset * clone() const;
///
void setType(HullType type);
///
///
EDITABLE editable() const { return HIGHLY_EDITABLE; }
///
- void edit(Cursor & cur, bool left);
+ void edit(Cursor & cur, bool front);
///
Inset * editXY(Cursor & cur, int x, int y);
///
DisplayType display() const;
///
- Code lyxCode() const;
+ InsetCode lyxCode() const;
protected:
///