]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathData.h
Preserve \inputencoding value when switching to non-TeX fonts.
[lyx.git] / src / mathed / MathData.h
index 1558000bdc6131865802349d99828dbf157af2dc..b118d6c41f2d412cae1fa22c3054196bb108dc4f 100644 (file)
@@ -26,7 +26,6 @@
 
 #include <cstddef>
 #include <vector>
-#include <map>
 
 
 namespace lyx {
@@ -124,9 +123,6 @@ public:
        /// Add this array to a math row. Return true if contents got added
        bool addToMathRow(MathRow &, MetricsInfo & mi) const;
 
-       // return true if caret is in this cell in this buffer view
-       bool hasCaret(BufferView * bv) const;
-
        /// rebuild cached metrics information
        /** When \c tight is true, the height of the cell will be at least
         *  the x height of the font. Otherwise, it will be the max height
@@ -195,9 +191,6 @@ protected:
        mutable int kerning_;
        Buffer * buffer_;
 
-       /// cached object that describes typeset data
-       mutable std::map<BufferView*, MathRow> mrow_cache_;
-
 private:
        /// is this an exact match at this position?
        bool find1(MathData const & ar, size_type pos) const;