Really spellcheck continuously.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30241 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2009-06-23 09:17:39 +00:00
parent 5d40a42f60
commit 8a421dcd37

View File

@ -2030,6 +2030,11 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
break; break;
} }
if (lyxrc.spellcheck_continuously) {
// Profit from this occasion to spellcheck current word.
cur.paragraph().isMisspelled(cur.pos());
}
needsUpdate |= (cur.pos() != cur.lastpos()) && cur.selection(); needsUpdate |= (cur.pos() != cur.lastpos()) && cur.selection();
// FIXME: The cursor flag is reset two lines below // FIXME: The cursor flag is reset two lines below