]> git.lyx.org Git - lyx.git/blobdiff - src/AspellChecker.h
Fix issue with language switch in Arguments insets
[lyx.git] / src / AspellChecker.h
index 4477d31241f4baf90592ea1a6f4d80a62f850b99..74ffb7036bd093862aab2a07f36e813fb7306358 100644 (file)
@@ -23,20 +23,19 @@ public:
        AspellChecker();
        ~AspellChecker();
 
-       /// check the given word and return the result
+       /// \name SpellChecker inherited methods
+       //@{
        enum Result check(WordLangTuple const &);
-
-       /// insert the given word into the personal dictionary
+       void suggest(WordLangTuple const &, docstring_list &);
+       void stem(WordLangTuple const &, docstring_list &) {}
        void insert(WordLangTuple const &);
-
-       /// accept the given word temporarily
+       void remove(WordLangTuple const &);
        void accept(WordLangTuple const &);
-
-       /// return the next near miss after a SUGGESTED_WORDS result
-       docstring const nextMiss();
-
-       /// give an error message on messy exit
+       bool hasDictionary(Language const * lang) const;
+       int numDictionaries() const;
        docstring const error();
+       void advanceChangeNumber();
+       //@}
 
 private:
        struct Private;