]> git.lyx.org Git - lyx.git/blobdiff - src/FontList.h
Avoid full metrics computation with Update:FitCursor
[lyx.git] / src / FontList.h
index 61ab2205f244d3d78f122ff7cf13d1d4e560dc6e..2b09c11fb41c09d2019dfe5ed46a1c078fa9a327 100644 (file)
@@ -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;