X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FAspellChecker.h;h=18aafed0524fe2d35d00cbe451090aca8c347a8a;hb=31a197d88c5521a3ff566597d22b7877d3e151c2;hp=4477d31241f4baf90592ea1a6f4d80a62f850b99;hpb=96e456d864ddf121413516bc33c9d9f8b0fbc874;p=lyx.git diff --git a/src/AspellChecker.h b/src/AspellChecker.h index 4477d31241..18aafed052 100644 --- a/src/AspellChecker.h +++ b/src/AspellChecker.h @@ -23,20 +23,20 @@ public: AspellChecker(); ~AspellChecker(); - /// check the given word and return the result - enum Result check(WordLangTuple const &); - - /// insert the given word into the personal dictionary - void insert(WordLangTuple const &); - - /// accept the given word temporarily - void accept(WordLangTuple const &); - - /// return the next near miss after a SUGGESTED_WORDS result - docstring const nextMiss(); - - /// give an error message on messy exit - docstring const error(); + /// \name SpellChecker inherited methods + //@{ + enum Result check(WordLangTuple const &, + std::vector const &) override; + void suggest(WordLangTuple const &, docstring_list &) override; + void stem(WordLangTuple const &, docstring_list &) override {} + void insert(WordLangTuple const &) override; + void remove(WordLangTuple const &) override; + void accept(WordLangTuple const &) override; + bool hasDictionary(Language const * lang) const override; + int numDictionaries() const override; + docstring const error() override; + void advanceChangeNumber() override; + //@} private: struct Private;