]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_gridinset.h
the DocIterator stuff
[lyx.git] / src / mathed / math_gridinset.h
index f7d0fb9e35204b02672904114cd5f95d63ef66f8..e664dd7cff962ab50d48ed49211c3a53b73e0988 100644 (file)
@@ -94,7 +94,7 @@ public:
        /// Ensures that the dialog is closed.
        ~MathGridInset();
        ///
-       virtual std::auto_ptr<InsetBase> clone() const;
+       std::auto_ptr<InsetBase> clone() const;
        ///
        void metrics(MetricsInfo & mi) const;
        ///
@@ -145,7 +145,7 @@ public:
        row_type row(idx_type idx) const;
 
        ///
-       bool idxUpDown(LCursor &, bool up, int targetx) const;
+       bool idxUpDown(LCursor &, bool up) const;
        ///
        bool idxLeft(LCursor &) const;
        ///
@@ -155,10 +155,6 @@ public:
        ///
        bool idxLast(LCursor &) const;
        ///
-       bool idxHome(LCursor &) const;
-       ///
-       bool idxEnd(LCursor &) const;
-       ///
        bool idxDelete(idx_type & idx);
        /// pulls cell after pressing erase
        void idxGlue(idx_type idx);
@@ -216,7 +212,7 @@ public:
 
 protected:
        ///
-       DispatchResult priv_dispatch(LCursor & cur, FuncRequest const & cmd);
+       void priv_dispatch(LCursor & cur, FuncRequest const & cmd);
        /// returns x offset of cell compared to inset
        int cellXOffset(idx_type idx) const;
        /// returns y offset of cell compared to inset