X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FCoordCache.h;h=ba69f94eba3de2d74629a9f96a62c3b548ce93b0;hb=966c48abc658f459ca2269e4f65fa2003f731fb6;hp=28e75462b713efac9d06e658f744782429fa4ccc;hpb=32871c1284f15265f652ff01c438e539a7c8181f;p=lyx.git diff --git a/src/CoordCache.h b/src/CoordCache.h index 28e75462b7..ba69f94eba 100644 --- a/src/CoordCache.h +++ b/src/CoordCache.h @@ -21,7 +21,7 @@ namespace lyx { class Inset; -class LyXText; +class Text; class MathData; class Paragraph; @@ -113,14 +113,14 @@ public: class CoordCache { public: void clear(); - Point get(LyXText const *, pit_type) const; + Point get(Text const *, pit_type) const; /// A map from paragraph index number to screen point typedef std::map InnerParPosCache; - /// A map from a LyXText to the map of paragraphs to screen points - typedef std::map ParPosCache; + /// A map from a Text to the map of paragraphs to screen points + typedef std::map ParPosCache; /// A map from a CursorSlice to screen points - typedef std::map SliceCache; + typedef std::map SliceCache; /// A map from MathData to position on the screen CoordCacheBase & arrays() { return arrays_; } @@ -128,7 +128,7 @@ public: /// A map from insets to positions on the screen CoordCacheBase & insets() { return insets_; } CoordCacheBase const & getInsets() const { return insets_; } - /// A map from (LyXText, paragraph) pair to screen positions + /// A map from (Text, paragraph) pair to screen positions ParPosCache & parPos() { return pars_; } ParPosCache const & getParPos() const { return pars_; } ///