}
-void FontList::setMisspelled(pos_type startpos, pos_type endpos,
- bool misspelled)
-{
- List::iterator start = fontIterator(startpos);
- if (misspelled && start->font().isMisspelled())
- return;
- if (!misspelled && !start->font().isMisspelled())
- return;
-
- Font f = start->font();
- f.setMisspelled(misspelled);
- setRange(startpos, endpos, f);
-}
-
-
FontSize FontList::highestInRange(pos_type startpos, pos_type endpos,
FontSize def_size) const
{