diff --git a/src/Text3.cpp b/src/Text3.cpp index 8dc1d538c9..cf76341c82 100644 --- a/src/Text3.cpp +++ b/src/Text3.cpp @@ -2030,10 +2030,9 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd) break; } - if (lyxrc.spellcheck_continuously) { - // Profit from this occasion to spellcheck current word. + if (lyxrc.spellcheck_continuously && cur.inTexted()) + // Take this opportunity to spellcheck current word. cur.paragraph().isMisspelled(cur.pos()); - } needsUpdate |= (cur.pos() != cur.lastpos()) && cur.selection();