]> git.lyx.org Git - lyx.git/blobdiff - src/Paragraph.h
Don't clutter the header needlessly
[lyx.git] / src / Paragraph.h
index 53edbc2f5ab5eb598e086c2885979d891329740e..d45dfff70f13d22c7d61360827b88ef764247c2d 100644 (file)
@@ -404,13 +404,16 @@ public:
        void locateWord(pos_type & from, pos_type & to,
                word_location const loc) const;
        ///
-       void updateWords(CursorSlice const & sl);
+       void updateWords();
+       /// Spellcheck word at position \p pos.
+       /// \return true if pointed word is misspelled.
+       bool isMisspelled(pos_type pos) const;
 
 private:
        ///
        void deregisterWords();
        ///
-       void collectWords(CursorSlice const & sl);
+       void collectWords();
        ///
        void registerWords();