///
bool idxUpDown(Cursor &, bool up) const;
///
- bool idxLeft(Cursor &) const { return false; }
+ bool idxBackward(Cursor &) const { return false; }
///
- bool idxRight(Cursor &) const { return false; }
+ bool idxForward(Cursor &) const { return false; }
};
///
explicit InsetMathFrac(Kind kind = FRAC, idx_type ncells = 2);
///
- bool idxRight(Cursor &) const;
+ bool idxForward(Cursor &) const;
///
- bool idxLeft(Cursor &) const;
+ bool idxBackward(Cursor &) const;
///
void metrics(MetricsInfo & mi, Dimension & dim) const;
///
class InsetMathBinom : public InsetMathFracBase {
public:
///
- explicit InsetMathBinom(bool choose = false);
+ enum Kind {
+ BINOM,
+ CHOOSE,
+ BRACE,
+ BRACK
+ };
+
+ ///
+ explicit InsetMathBinom(Kind kind = BINOM);
///
void write(WriteStream & os) const;
///
{ drawMarkers2(pi, x, y); }
///
bool extraBraces() const;
+ ///
+ void validate(LaTeXFeatures & features) const;
private:
Inset * clone() const;
///
int dw(int height) const;
///
- bool choose_;
+ Kind kind_;
};