3 * \file AppleSpellChecker.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
12 #ifndef LYX_APPLESPELL_H
13 #define LYX_APPLESPELL_H
15 #include "SpellChecker.h"
19 class AppleSpellChecker : public SpellChecker
25 /// \name SpellChecker inherited methods
27 enum Result check(WordLangTuple const &,
28 std::vector<WordLangTuple> const &) override;
29 void suggest(WordLangTuple const &, docstring_list &) override;
30 void stem(WordLangTuple const &, docstring_list &) override {}
31 void insert(WordLangTuple const &) override;
32 void remove(WordLangTuple const &) override;
33 void accept(WordLangTuple const &) override;
34 bool hasDictionary(Language const * lang) const override;
35 int numDictionaries() const override;
36 bool canCheckParagraph() const override { return true; }
37 int numMisspelledWords() const override;
38 void misspelledWord(int index, int & start, int & length) const override;
39 docstring const error() override;
40 void advanceChangeNumber() override;
51 #endif // LYX_APPLESPELL_H