X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2FAppleSpeller.h;h=5910fba142bebd05535d9b427cb6c8d7425e3af4;hb=b7abd752faa1f5d4958b27045bcfb1678ec1b2ae;hp=3012249410b93f0f5fcc939c4fe42137b41d451a;hpb=e4f2484cb5899da6d98e0be6db465ca011989e04;p=lyx.git diff --git a/src/support/AppleSpeller.h b/src/support/AppleSpeller.h index 3012249410..5910fba142 100644 --- a/src/support/AppleSpeller.h +++ b/src/support/AppleSpeller.h @@ -28,13 +28,15 @@ typedef struct AppleSpellerRec * AppleSpeller ; AppleSpeller newAppleSpeller(void); void freeAppleSpeller(AppleSpeller speller); -SpellCheckResult checkAppleSpeller(AppleSpeller speller, const char * word, const char * lang); -void ignoreAppleSpeller(AppleSpeller speller, const char * word); -size_t makeSuggestionAppleSpeller(AppleSpeller speller, const char * word, const char * lang); -const char * getSuggestionAppleSpeller(AppleSpeller speller, size_t pos); -void learnAppleSpeller(AppleSpeller speller, const char * word); -void unlearnAppleSpeller(AppleSpeller speller, const char * word); -int hasLanguageAppleSpeller(AppleSpeller speller, const char * lang); +SpellCheckResult AppleSpeller_check(AppleSpeller speller, const char * word, const char * lang); +void AppleSpeller_ignore(AppleSpeller speller, const char * word); +size_t AppleSpeller_makeSuggestion(AppleSpeller speller, const char * word, const char * lang); +const char * AppleSpeller_getSuggestion(AppleSpeller speller, size_t pos); +void AppleSpeller_learn(AppleSpeller speller, const char * word); +void AppleSpeller_unlearn(AppleSpeller speller, const char * word); +int AppleSpeller_hasLanguage(AppleSpeller speller, const char * lang); +int AppleSpeller_numMisspelledWords(AppleSpeller speller); +void AppleSpeller_misspelledWord(AppleSpeller speller, int index, int * start, int * length); #ifdef __cplusplus } // extern "C"