]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.cpp
* ExternalSupport.cpp:
[lyx.git] / src / Buffer.cpp
index 3a17d014aa2cc553d964928f2c9ecc8f9099521d..a068ecfe3a9c9e502cac0801395b4aaf56f09a83 100644 (file)
@@ -127,7 +127,7 @@ namespace {
 
 // Do not remove the comment below, so we get merge conflict in
 // independent branches. Instead add your own.
-int const LYX_FORMAT = 399; // uwestoehr: support for package mathdots
+int const LYX_FORMAT = 400; // uwestoehr: support for \rule
 
 typedef map<string, bool> DepClean;
 typedef map<docstring, pair<InsetLabel const *, Buffer::References> > RefCache;
@@ -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;