From: Abdelrazak Younes Date: Tue, 23 Jun 2009 09:17:39 +0000 (+0000) Subject: Really spellcheck continuously. X-Git-Tag: 2.0.0~6218 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=8a421dcd3730141ec8446bfbc3b69ca8b4ef6932;p=features.git Really spellcheck continuously. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30241 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/Text3.cpp b/src/Text3.cpp index c8e4a4b1ea..8dc1d538c9 100644 --- a/src/Text3.cpp +++ b/src/Text3.cpp @@ -2030,6 +2030,11 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd) 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(); // FIXME: The cursor flag is reset two lines below