#define INSET_FORMULABASE_H
-#include "insets/inset.h"
+#include "insets/updatableinset.h"
#include "frontends/mouse_state.h"
#include "lyxfont.h"
///
virtual int width(BufferView *, LyXFont const &) const = 0;
///
- virtual void draw(BufferView *,LyXFont const &, int, float &, bool) const = 0;
+ virtual void draw(BufferView *,LyXFont const &, int, float &) const = 0;
/// lowest x coordinate
virtual int xlow() const;
/// highest x coordinate
public:
///
+ // Don't use this for AMS validation as long as there is no
+ // user-accessible way to override "false positives"
virtual void validate(LaTeXFeatures &) const;
///
virtual Inset * clone(Buffer const &, bool same_id = false) const = 0;
///
virtual MathAtom & par() = 0;
///
- virtual void updateLocal(BufferView * bv, bool mark_dirty);
- ///
- BufferView * view() const { return view_.get(); }
+ // And shouldn't this really return a shared_ptr<BufferView> instead?
+ BufferView * view() const;
///
virtual bool searchForward(BufferView *, string const &,