X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBuffer.cpp;h=a068ecfe3a9c9e502cac0801395b4aaf56f09a83;hb=0b17cb113523fb23c43064709e9b6606fe80914c;hp=3a17d014aa2cc553d964928f2c9ecc8f9099521d;hpb=1712e4f35e3e8cb132f731dca773f7767a241bf6;p=lyx.git diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 3a17d014aa..a068ecfe3a 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -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 DepClean; typedef map > 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;