X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FSpellChecker.h;h=58e5de6bd2acc66fefb723abcfd510da27d1cfb9;hb=3bf1b97ae547aea5d0243e41b2d8af463a6e40c5;hp=7a5dbacbc543cc41bb5f2c4d47e3e0d7d664e9bf;hpb=07396ab2445720b21dc8195816eb1aee1f2ae3a7;p=features.git diff --git a/src/SpellChecker.h b/src/SpellChecker.h index 7a5dbacbc5..58e5de6bd2 100644 --- a/src/SpellChecker.h +++ b/src/SpellChecker.h @@ -44,6 +44,8 @@ public: IGNORED_WORD, /// number of personal dictionary "word" LEARNED_WORD, + /// number of document dictionary "word" + DOCUMENT_LEARNED_WORD, /// missing dictionary for language NO_DICTIONARY }; @@ -57,7 +59,8 @@ public: return res != WORD_OK && res != IGNORED_WORD && res != NO_DICTIONARY - && res != LEARNED_WORD; } + && res != LEARNED_WORD + && res != DOCUMENT_LEARNED_WORD; } /// check the given word of the given lang code and return the result virtual enum Result check(WordLangTuple const &,