]> git.lyx.org Git - features.git/commitdiff
Really spellcheck continuously.
authorAbdelrazak Younes <younes@lyx.org>
Tue, 23 Jun 2009 09:17:39 +0000 (09:17 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Tue, 23 Jun 2009 09:17:39 +0000 (09:17 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30241 a592a061-630c-0410-9148-cb99ea01b6c8

src/Text3.cpp

index c8e4a4b1ead300c1196a1fbda9ffca122ce7bedb..8dc1d538c9aab783ad5461722ff75657455b0fec 100644 (file)
@@ -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