]> git.lyx.org Git - lyx.git/blobdiff - src/TextMetrics.h
Correct Right Arrow key processing in Modules list
[lyx.git] / src / TextMetrics.h
index 006836fb0a186b0f88795de6a1095a942aaaaf20..353d28926cea72f7e6d1bd45753506d43c40f8b6 100644 (file)
@@ -60,9 +60,11 @@ public:
        ///
        Point const & origin() const { return origin_; }
 
-
        ///
        ParagraphMetrics const & parMetrics(pit_type) const;
+       ///
+       ParagraphMetrics & parMetrics(pit_type);
+
        ///
        void newParMetricsDown();
        ///
@@ -240,7 +242,6 @@ public:
                Dimension & dim) const;
 
 private:
-       friend class BufferView;
 
        /// The BufferView owner.
        BufferView * bv_;