]> git.lyx.org Git - features.git/blobdiff - src/Buffer.cpp
Next runtime messages to be ommitted if compiled with clang using flag '-fsanitize'.
[features.git] / src / Buffer.cpp
index e78a443a88ab3c44e721f15d7b493c85109bc080..7cb5ac205d332b4130d6848a21f3e596d22bb87a 100644 (file)
@@ -5381,6 +5381,15 @@ int Buffer::spellCheck(DocIterator & from, DocIterator & to,
 }
 
 
+void Buffer::requestSpellcheck()
+{
+       ParagraphList::iterator pit = paragraphs().begin();
+       ParagraphList::iterator pend = paragraphs().end();
+       for (; pit != pend; ++pit)
+               pit->requestSpellCheck();
+}
+
+
 void Buffer::Impl::updateStatistics(DocIterator & from, DocIterator & to, bool skipNoOutput)
 {
        bool inword = false;