]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/formulabase.h
rename commandtags.h to lfuns.h and renumber/cleanup. Rebuild the tree !
[lyx.git] / src / mathed / formulabase.h
index 0f8cd2e52237e2d5080ebfa123d7c706855b584d..1459c894a3b14bf30b2dc482ea6ad33858e1e853 100644 (file)
@@ -37,7 +37,7 @@ public:
        ///
        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
@@ -49,6 +49,8 @@ public:
 
 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;
@@ -87,13 +89,8 @@ public:
        ///
        virtual MathAtom & par() = 0;
        ///
-       virtual void updateLocal(BufferView * bv, bool mark_dirty);
-       ///
-#warning move this to formulabase.C (Lgb)
        // And shouldn't this really return a shared_ptr<BufferView> instead?
-       BufferView * view() const {
-               return view_.lock().get();
-       }
+       BufferView * view() const;
 
        ///
        virtual bool searchForward(BufferView *, string const &,