]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/formulabase.h
make \newcommand{\bb}[1]{\mathbf{#1}} work for read/write/display.
[lyx.git] / src / mathed / formulabase.h
index 806a57480470a778edfc77af88f688ab12e22436..54e255495608269b31acca090f821ff2fe196b19 100644 (file)
@@ -80,7 +80,7 @@ public:
        ///
        virtual void insetButtonPress(BufferView *, int x, int y, int button);
        ///
-       virtual void insetButtonRelease(BufferView *, int x, int y, int button);
+       virtual bool insetButtonRelease(BufferView *, int x, int y, int button);
        ///
        virtual void insetKeyPress(XKeyEvent * ev);
        ///
@@ -100,11 +100,17 @@ public:
        ///
        virtual void updateLocal(BufferView * bv, bool mark_dirty);
        ///
-       int xo() const { return xo_; }
+       BufferView * view() const { return view_; }
+
        ///
-       int yo() const { return yo_; }
+       virtual bool searchForward(BufferView *, string const &,
+                                  bool const & = true, bool const & = false);
        ///
-       BufferView * view() const { return view_; }
+       virtual bool searchBackward(BufferView *, string const &,
+                                   bool const & = true, bool const & = false);
+       ///
+       virtual bool isTextInset() const { return true; }
+
 
 private:
        /// unimplemented