]> git.lyx.org Git - lyx.git/blobdiff - src/TextMetrics.h
Amend 207eaeee9071cb
[lyx.git] / src / TextMetrics.h
index f53701b12e29d3dd80a5b4ab55fcda86d69844aa..d5606b610a396661046fd56f1a89d5d71acf895f 100644 (file)
@@ -73,6 +73,10 @@ public:
        ///
        void newParMetricsUp();
 
+       /// Update metrics up to \c bv_height. Only usable for main text (for now).
+       void updateMetrics(pit_type const anchor_pit, int const anchor_ypos,
+                       int const bv_height);
+
        /// compute text metrics.
        bool metrics(MetricsInfo const & mi, Dimension & dim, int min_width = 0);