///
void write(Buffer const & buf, std::ostream & os) const;
///
- void metrics(MetricsInfo & mi, Dimension & dim) const;
+ bool metrics(MetricsInfo & mi, Dimension & dim) const;
///
void draw(PainterInfo & pi, int x, int y) const;
/// draw inset selection
void drawSelection(PainterInfo & pi, int x, int y) const;
/// are we inside the area covered by the inset?
- virtual bool covers(BufferView & bv, int x, int y) const;
+ virtual bool covers(BufferView const & bv, int x, int y) const;
///
virtual docstring const editMessage() const;
///
///
void setFrameColor(LColor_color);
///
- void setViewCache(BufferView const * bv) const;
- ///
bool showInsetDialog(BufferView *) const;
///
LyXText * getText(int i) const {
///
bool allowSpellCheck() const { return true; }
/// should paragraph indendation be ommitted in any case?
- bool neverIndent() const;
+ bool neverIndent(Buffer const &) const;
///
InsetText(InsetText const &);
///
- bool & Wide() const { return wide_inset_; }
+ bool wide() const { return wide_inset_; }
+ ///
+ void setWide(bool wide_inset) { wide_inset_ = wide_inset; }
protected:
///
///
static int border_;
///
- mutable bool wide_inset_;
+ bool wide_inset_;
public:
///
mutable LyXText text_;