]> git.lyx.org Git - lyx.git/blobdiff - src/FontList.h
* Paragraph: reserve memory by chunks of 100 chars. This improve the loading of big...
[lyx.git] / src / FontList.h
index e99c4a9fa5839c1472d782b3c0937be591dafb6b..582848b5c95a1dcc4ac3c9f4b18b6273e8434c42 100644 (file)
@@ -62,6 +62,8 @@ private:
        Font font_;
 };
 
+class LaTeXFeatures;
+
 ///
 class FontList
 {
@@ -92,6 +94,11 @@ public:
        ///
        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);
@@ -109,6 +116,9 @@ public:
                int len ///< length of the range to check.
                ) const;
 
+       ///
+       void validate(LaTeXFeatures & features) const;
+
 private:
        ///
        List list_;