X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFontList.h;h=2b09c11fb41c09d2019dfe5ed46a1c078fa9a327;hb=1d637b8af0f76d7c758db91ee3a196306f861a21;hp=d6733f9de596f593811159caf09a0f625edb8067;hpb=aeebc6565c77609d0c636e5102fc2fabef9af44a;p=lyx.git diff --git a/src/FontList.h b/src/FontList.h index d6733f9de5..2b09c11fb4 100644 --- a/src/FontList.h +++ b/src/FontList.h @@ -84,7 +84,7 @@ public: /// bool empty() const { return list_.empty(); } /// - void clear() { return list_.clear(); } + void clear() { list_.clear(); } /// void erase(pos_type pos); /// @@ -92,32 +92,14 @@ public: /// 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); /// - void setRange( - pos_type startpos, - pos_type endpos, - Font const & font); - /// void increasePosAfterPos(pos_type pos); /// 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;