From 8a421dcd3730141ec8446bfbc3b69ca8b4ef6932 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Tue, 23 Jun 2009 09:17:39 +0000 Subject: [PATCH] Really spellcheck continuously. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30241 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Text3.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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