]> git.lyx.org Git - features.git/blobdiff - src/SpellChecker.h
InsetIndex: hide printTree behind a LYX_INSET_INDEX_DEBUG flag
[features.git] / src / SpellChecker.h
index 7a5dbacbc543cc41bb5f2c4d47e3e0d7d664e9bf..58e5de6bd2acc66fefb723abcfd510da27d1cfb9 100644 (file)
@@ -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 &,