X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFontList.h;h=6400f97524bf0c9b33a1cbfdd7761fd23f213a28;hb=a700d657b3b06541b10ddae8cc5847bd46d06aae;hp=59650b85cff5e80d18905c2745b11926d871aa6d;hpb=5ddc612b735317d5b22553a63aad7879503e3950;p=lyx.git diff --git a/src/FontList.h b/src/FontList.h index 59650b85cf..6400f97524 100644 --- a/src/FontList.h +++ b/src/FontList.h @@ -84,13 +84,15 @@ public: /// bool empty() const { return list_.empty(); } /// + void clear() { list_.clear(); } + /// void erase(pos_type pos); /// iterator fontIterator(pos_type pos); /// const_iterator fontIterator(pos_type pos) const; /// - Font & get(pos_type pos); + Font const & get(pos_type pos); /// void set(pos_type pos, Font const & font); /// @@ -103,19 +105,6 @@ public: /// void decreasePosAfterPos(pos_type pos); - /// Returns the height of the highest font in range - FontSize highestInRange( - pos_type startpos, - pos_type endpos, - FontSize def_size - ) const; - - /// is there a font change in middle of the word? - bool hasChangeInRange( - pos_type pos, ///< position in the paragraph. - int len ///< length of the range to check. - ) const; - /// void validate(LaTeXFeatures & features) const;