namespace lyx {
+class BufferParams;
+
/** Gridded math inset base class.
* This is the base to all grid-like editable math objects
bool idxBackward(Cursor &) const;
///
bool idxForward(Cursor &) const;
- ///
- bool idxFirst(Cursor &) const;
- ///
- bool idxLast(Cursor &) const;
+ //
+ idx_type firstIdx() const;
+ //
+ idx_type lastIdx() const;
///
bool idxDelete(idx_type & idx);
/// pulls cell after pressing erase
//void maple(MapleStream &) const;
///
void mathmlize(MathStream &) const;
- ///
+ ///
void htmlize(HtmlStream &) const;
///
void htmlize(HtmlStream &, std::string attrib) const;
// The following two functions are used in InsetMathHull and
// InsetMathSplit.
- /// The value of a fixed col align for a certain hull type
- static char colAlign(HullType type, col_type col);
+ /// The value of a fixed col align for a certain hull type (can
+ /// depend on the "indent math" setting).
+ static char colAlign(HullType type, col_type col, BufferParams const &);
/// The value of a fixed col spacing for a certain hull type
static int colSpace(HullType type, col_type col);