public:
///
- MathData(Buffer * buf = 0) : minasc_(0), mindes_(0), slevel_(0),
+ explicit MathData(Buffer * buf = 0) : minasc_(0), mindes_(0), slevel_(0),
sshift_(0), buffer_(buf) {}
///
MathData(Buffer * buf, const_iterator from, const_iterator to);
void metricsT(TextMetricsInfo const & mi, Dimension & dim) const;
/// redraw cell using cache metrics information
void drawT(TextPainter & pi, int x, int y) const;
- /// approximate the math class of the data
+ /// approximate mathclass of the data
MathClass mathClass() const;
+ /// math class of last interesting element
+ MathClass lastMathClass() const;
/// access to cached x coordinate of last drawing
int xo(BufferView const & bv) const;
/// stay visually at the same position (cur==0 is allowed)
void updateMacros(Cursor * cur, MacroContext const & mc, UpdateType, int nesting);
///
- void updateBuffer(ParIterator const &, UpdateType);
+ void updateBuffer(ParIterator const &, UpdateType, bool const deleted = false);
///
void setBuffer(Buffer & b);