X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FTextMetrics.h;h=66d310fcc60ef4164c23152341d88b2385da8f3f;hb=1d6573a330791fb34541f4092cd49e4559972489;hp=32282f76ce9449067ba082c4d2b4803153c7a31c;hpb=bc9b16683eb457cb0784574eb33d21b6eff532dc;p=lyx.git diff --git a/src/TextMetrics.h b/src/TextMetrics.h index 32282f76ce..66d310fcc6 100644 --- a/src/TextMetrics.h +++ b/src/TextMetrics.h @@ -46,9 +46,6 @@ public: /// std::pair last() const; - /// - int parPosition(pit_type pit) const; - /// Dimension const & dimension() const { return dim_; } /// @@ -102,7 +99,7 @@ public: int descent() const { return dim_.des; } /// current text width. int width() const { return dim_.wid; } - /// current text heigth. + /// current text height. int height() const { return dim_.height(); } /// @@ -158,10 +155,6 @@ private: pos_type const end ) const; - /// draw selection for a single row - void drawRowSelection(PainterInfo & pi, int x, Row const & row, - Cursor const & cur, pit_type const pit) const; - // Temporary public: public: /// returns the column near the specified x-coordinate of the row.