X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFontList.h;h=388a04ee21c33c58382e463dff947ae0fd76d6e5;hb=b8550d11e836e857967a31250e6ca248b2d43f82;hp=59650b85cff5e80d18905c2745b11926d871aa6d;hpb=5ddc612b735317d5b22553a63aad7879503e3950;p=lyx.git diff --git a/src/FontList.h b/src/FontList.h index 59650b85cf..388a04ee21 100644 --- a/src/FontList.h +++ b/src/FontList.h @@ -84,6 +84,8 @@ public: /// bool empty() const { return list_.empty(); } /// + void clear() { list_.clear(); } + /// void erase(pos_type pos); /// iterator fontIterator(pos_type pos); @@ -103,6 +105,12 @@ public: /// void decreasePosAfterPos(pos_type pos); + /// + void setMisspelled( + pos_type startpos, + pos_type endpos, + bool misspelled); + /// Returns the height of the highest font in range FontSize highestInRange( pos_type startpos,