X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FAppleSpellChecker.h;h=9d1aeeee3c300a75c51db78ccc8f867d587c93f1;hb=1512439fa4546a5370d69c88d0350ccbcab7611b;hp=5a6657520c174aea6511bfa2bad0081b112700b0;hpb=0a326e90f73b36d562bb67ba5ace926301c386bb;p=lyx.git diff --git a/src/AppleSpellChecker.h b/src/AppleSpellChecker.h index 5a6657520c..9d1aeeee3c 100644 --- a/src/AppleSpellChecker.h +++ b/src/AppleSpellChecker.h @@ -27,8 +27,12 @@ public: enum Result check(WordLangTuple const &); void suggest(WordLangTuple const &, docstring_list &); void insert(WordLangTuple const &); + void remove(WordLangTuple const &); void accept(WordLangTuple const &); bool hasDictionary(Language const * lang) const; + bool canCheckParagraph() const { return true; } + int numMisspelledWords() const; + void misspelledWord(int index, int & start, int & length) const; docstring const error(); //@}