This bug is related to the fact that the cusor remember the current font.
The on-the-fly spell status should really not be kept in the Font object, but
rather in metrics, IMO.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35041
a592a061-630c-0410-9148-
cb99ea01b6c8
// get font
BufferParams const & bufparams = buffer()->params();
current_font = par.getFontSettings(bufparams, cpos);
+ current_font.setMisspelled(false);
real_current_font = tm.displayFont(cpit, cpos);
+ real_current_font.setMisspelled(false);
// special case for paragraph end
if (cs.pos() == lastpos()