]> git.lyx.org Git - lyx.git/blobdiff - src/coordcache.h
add config.h
[lyx.git] / src / coordcache.h
index a14751f6f0375ee70c1ca3e077f5b9387b5d9dcc..dba9b89fd4d283a2a27c7c31e9ecf2dac1a4c379 100644 (file)
@@ -107,13 +107,13 @@ public:
  * updates. (x,y) == (0,0) is the upper left screen corner, x increases
  * to the right, y increases downwords.
  * The cache is built in BufferView::updateMetrics which is called
- * from BufferView::Pimpl::update. The individual points are added
+ * from BufferView::update. The individual points are added
  * while we paint them. See for instance paintPar in RowPainter.C.
  */
 class CoordCache {
 public:
        void clear();
-       Point get(LyXText const *, pit_type);
+       Point get(LyXText const *, pit_type) const;
 
        /// A map from paragraph index number to screen point
        typedef std::map<pit_type, Point> InnerParPosCache;