]> git.lyx.org Git - lyx.git/blobdiff - src/CoordCache.h
* src/CutAndPaste.cpp (saveSelection): clarify comment about commenting persistent...
[lyx.git] / src / CoordCache.h
index 28e75462b713efac9d06e658f744782429fa4ccc..ba69f94eba3de2d74629a9f96a62c3b548ce93b0 100644 (file)
@@ -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<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 a CursorSlice to screen points
-       typedef std::map<LyXText const *, InnerParPosCache> SliceCache;
+       typedef std::map<Text const *, InnerParPosCache> SliceCache;
 
        /// A map from MathData to position on the screen
        CoordCacheBase<MathData> & arrays() { return arrays_; }
@@ -128,7 +128,7 @@ public:
        /// A map from insets to positions on the screen
        CoordCacheBase<Inset> & insets() { return insets_; }
        CoordCacheBase<Inset> 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_; }
        ///