/// A map from paragraph index number to screen point
typedef std::map<pit_type, Point> InnerParPosCache;
/// 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 Text to the map of paragraphs to screen points
+ typedef std::map<Text const *, InnerParPosCache> ParPosCache;
/// A map from MathData to position on the screen
CoordCacheBase<MathData> & arrays() { return arrays_; }
CoordCacheBase<MathData> const & getArrays() const { return arrays_; }
/// A map from insets to positions on the screen
/// A map from MathData to position on the screen
CoordCacheBase<MathData> & arrays() { return arrays_; }
CoordCacheBase<MathData> const & getArrays() const { return arrays_; }
/// A map from insets to positions on the screen
- CoordCacheBase<InsetBase> & insets() { return insets_; }
- CoordCacheBase<InsetBase> const & getInsets() const { return insets_; }
- /// A map from (LyXText, paragraph) pair to screen positions
+ CoordCacheBase<Inset> & insets() { return insets_; }
+ CoordCacheBase<Inset> const & getInsets() const { return insets_; }
+ /// A map from (Text, paragraph) pair to screen positions