- Point get(LyXText const *, pit_type) const;
-
- /// A map from paragraph index number to screen point
- typedef std::map<pit_type, Point> InnerParPosCache;
- /// A map from a LyXText to the map of paragraphs to screen points
- typedef std::map<LyXText const *, InnerParPosCache> ParPosCache;
- /// A map from a CursorSlice to screen points
- typedef std::map<LyXText const *, InnerParPosCache> SliceCache;
-
- /// A map from MathArray to position on the screen
- CoordCacheBase<MathArray> & arrays() { return arrays_; }
- CoordCacheBase<MathArray> const & getArrays() const { return arrays_; }
+
+ /// A map from MathData to position on the screen
+ typedef CoordCacheBase<MathData> Arrays;
+ Arrays & arrays() { return arrays_; }
+ Arrays const & getArrays() const { return arrays_; }