X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFontList.h;h=388a04ee21c33c58382e463dff947ae0fd76d6e5;hb=b8550d11e836e857967a31250e6ca248b2d43f82;hp=d6733f9de596f593811159caf09a0f625edb8067;hpb=aeebc6565c77609d0c636e5102fc2fabef9af44a;p=lyx.git diff --git a/src/FontList.h b/src/FontList.h index d6733f9de5..388a04ee21 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); /// @@ -105,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,