]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.cpp
* ExternalSupport.cpp:
[lyx.git] / src / Buffer.cpp
index 3f36d6f3edb6ef84186296bcca38a71534fd7c3e..a068ecfe3a9c9e502cac0801395b4aaf56f09a83 100644 (file)
@@ -4033,6 +4033,7 @@ int Buffer::spellCheck(DocIterator & from, DocIterator & to,
                if (from == end)
                        break;
                to = from;
+               from.paragraph().spellCheck();
                SpellChecker::Result res = from.paragraph().spellCheck(from.pos(), to.pos(), wl, suggestions);
                if (SpellChecker::misspelled(res)) {
                        word_lang = wl;