]> git.lyx.org Git - lyx.git/blobdiff - src/WordList.h
Fix bug #6367: Screen jumps around when using undo/redo
[lyx.git] / src / WordList.h
index b802cf098f0d57ca61d8f542a2ff5293d6a6d8cd..b7f88fb78f305767c278ec1fe19e1493b87de80b 100644 (file)
@@ -14,6 +14,8 @@
 
 #include "support/docstring.h"
 
+#include "Language.h"
+
 namespace lyx {
 
 class WordList {
@@ -29,12 +31,18 @@ public:
        size_t size() const;
        ///
        void insert(docstring const & w);
+       ///
+       void remove(docstring const & w);
+       ///
+       static void cleanupWordLists();
 
 private:
-       class Impl;
+       struct Impl;
        Impl * d;
 };
 
+WordList * theWordList(Language const & lang);
+
 } // namespace lyx
 
 #endif // WORDLIST_H