///
void write(Buffer const &, std::ostream &) const;
///
- void metrics(MetricsInfo &, Dimension &) const;
+ bool metrics(MetricsInfo &, Dimension &) const;
///
void draw(PainterInfo & pi, int x, int y) const;
///
/// set the change for the entire inset
void setChange(Change const & change);
+ /// accept the changes within the inset
+ void acceptChanges(BufferParams const & bparams);
+ /// reject the changes within the inset
+ void rejectChanges(BufferParams const & bparams);
// this should return true if we have a "normal" cell, otherwise false.
// "normal" means without width set!
///
void removeTabularRow();
///
- bool hasPasteBuffer() const;
- ///
bool copySelection(LCursor & cur);
///
bool pasteSelection(LCursor & cur);
void getSelection(LCursor & cur, row_type & rs, row_type & re,
col_type & cs, col_type & ce) const;
///
- bool insertAsciiString(BufferView &, docstring const & buf, bool usePaste);
+ bool insertPlaintextString(BufferView &, docstring const & buf, bool usePaste);
/// are we operating on several cells?
bool tablemode(LCursor & cur) const;