paragraph or, in the case of nested paragraphs, from the
layout in the environment one level up until completely
resolved.
- The values Font::IGNORE_* and Font::TOGGLE are NOT
+ The values Font::IGNORE_* and FONT_TOGGLE are NOT
allowed in these font tables.
*/
Font font_;
///
bool empty() const { return list_.empty(); }
///
+ void clear() { list_.clear(); }
+ ///
void erase(pos_type pos);
///
iterator fontIterator(pos_type pos);
///
void decreasePosAfterPos(pos_type pos);
+ ///
+ void setMisspelled(
+ pos_type startpos,
+ pos_type endpos,
+ bool misspelled);
+
/// Returns the height of the highest font in range
- Font_size highestInRange(
+ FontSize highestInRange(
pos_type startpos,
pos_type endpos,
- Font_size def_size
+ FontSize def_size
) const;
/// is there a font change in middle of the word?