]> 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 4f7e588ee1ac7faf54a14641fbd4e9571c8ffc5b..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);
        ///
@@ -102,6 +102,16 @@ public:
        ///
        BufferView * view() const { return view_; }
 
+       ///
+       virtual bool searchForward(BufferView *, string const &,
+                                  bool const & = true, bool const & = false);
+       ///
+       virtual bool searchBackward(BufferView *, string const &,
+                                   bool const & = true, bool const & = false);
+       ///
+       virtual bool isTextInset() const { return true; }
+
+
 private:
        /// unimplemented
        void operator=(const InsetFormulaBase &);