]> git.lyx.org Git - lyx.git/blobdiff - src/SpellChecker.h
Be a bit more careful about setting and restoring the last reference
[lyx.git] / src / SpellChecker.h
index f87ef122b9b00f59303552a9015aa60a13c34811..f908ba2b471008e7f7f5b2d1f690dc5b4544f8e7 100644 (file)
@@ -47,6 +47,8 @@ public:
                NO_DICTIONARY
        };
 
+       SpellChecker() : change_number_(0) {}
+
        virtual ~SpellChecker() {}
 
        /// does the spell check failed
@@ -62,6 +64,9 @@ public:
        /// Gives suggestions.
        virtual void suggest(WordLangTuple const &, docstring_list & suggestions) = 0;
 
+       /// Lemmatizing: return stem of word (used by Thesaurus).
+       virtual void stem(WordLangTuple const &, docstring_list & suggestions) = 0;
+
        /// insert the given word into the personal dictionary
        virtual void insert(WordLangTuple const &) = 0;