]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_hullinset.h
mathed uglyfication
[lyx.git] / src / mathed / math_hullinset.h
index 8e06ef542e605dd30c572017b6dad8fb8a013048..2c19c15b747b39a2ff166902125f7c155704a51a 100644 (file)
@@ -50,8 +50,6 @@ public:
        bool display() const;
        ///
        bool ams() const;
-       /// local dispatcher
-       dispatch_result dispatch(FuncRequest const & cmd, idx_type & idx, pos_type & pos);
        /// Appends \c list with all labels found within this inset.
        void getLabelList(Buffer const &,
                          std::vector<std::string> & list) const;
@@ -83,9 +81,9 @@ public:
        ///
        char defaultColAlign(col_type col);
        ///
-       bool idxFirst(idx_type &, pos_type &) const;
+       bool idxFirst(BufferView &) const;
        ///
-       bool idxLast(idx_type &, pos_type &) const;
+       bool idxLast(BufferView &) const;
 
        ///
        std::string fileInsetLabel() const;
@@ -99,6 +97,10 @@ public:
        void infoize(std::ostream & os) const;
 
 protected:
+       ///
+       virtual
+       DispatchResult
+       priv_dispatch(BufferView & bv, FuncRequest const & cmd);
        ///
        std::string eolString(row_type row, bool fragile) const;
 
@@ -114,7 +116,7 @@ private:
        ///
        std::string nicelabel(row_type row) const;
        ///
-       void doExtern(FuncRequest const & func, idx_type & idx, pos_type & pos);
+       void doExtern(FuncRequest const & func, BufferView &);
        ///
        void glueall();
        ///