]> git.lyx.org Git - features.git/blobdiff - src/Text3.cpp
Really spellcheck continuously.
[features.git] / 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