X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FAppleSpellChecker.h;h=13b9bd0a94d3624d2c1d3152d984454b7bd64249;hb=bf56e2c8e1afa857cd5e313c19948040e41b8227;hp=e406325a706256f69ab27e7eecbbddd0b6f3cb4f;hpb=e4f2484cb5899da6d98e0be6db465ca011989e04;p=lyx.git diff --git a/src/AppleSpellChecker.h b/src/AppleSpellChecker.h index e406325a70..13b9bd0a94 100644 --- a/src/AppleSpellChecker.h +++ b/src/AppleSpellChecker.h @@ -26,11 +26,17 @@ public: //@{ enum Result check(WordLangTuple const &); void suggest(WordLangTuple const &, docstring_list &); + void stem(WordLangTuple const &, docstring_list &) {} void insert(WordLangTuple const &); void remove(WordLangTuple const &); void accept(WordLangTuple const &); bool hasDictionary(Language const * lang) const; + int numDictionaries() const; + bool canCheckParagraph() const { return true; } + int numMisspelledWords() const; + void misspelledWord(int index, int & start, int & length) const; docstring const error(); + void advanceChangeNumber(); //@} private: