]> git.lyx.org Git - lyx.git/blobdiff - src/sp_pspell.h
some more changes
[lyx.git] / src / sp_pspell.h
index 8d01c45a943d19ba151d21125aaa4e7a9edc36ef..9e7ff560e2cca3be35a0c7cbfd3edb3c2645ae64 100644 (file)
@@ -12,54 +12,47 @@ class BufferParams;
 
 class PSpell : public SpellBase
 {
-  public:
-
-    PSpell();
-    
-    PSpell(BufferParams const & params, string const & lang);
-    
-    ~PSpell();
-
-    /// initialize spell checker
-    void initialize(BufferParams const & params, string const & lang);
-
-    bool alive() { return alive_; }
-
-    /// clean up after error
-    void cleanUp();
-
-    /// check word
-    enum spellStatus check(string const & word);
-
-    /// close spellchecker
-    void close();
-
-    void insert(string const & word);
-
-    void accept(string const & word);
-
-    /// store replacement
-    void store(string const & mis, string const & cor);
-     
-    char const * nextMiss();
-
-    char const * error();
-   
-  private:
-
-    PspellManager * sc;
-    
-    PspellStringEmulation * els;
-
-    PspellCanHaveError * spell_error_object;
-
-    spellStatus flag;
-
-    const char * error_;
-
-    bool alive_;
+public:
+       ///
+       PSpell();
+       ///
+       PSpell(BufferParams const & params, string const & lang);
+       ///
+       ~PSpell();
+       /// initialize spell checker
+       void initialize(BufferParams const & params, string const & lang);
+       ///
+       bool alive() { return alive_; }
+       /// clean up after error
+       void cleanUp();
+       /// check word
+       enum spellStatus check(string const & word);
+       /// close spellchecker
+       void close();
+       ///
+       void insert(string const & word);
+       ///
+       void accept(string const & word);
+       /// store replacement
+       void store(string const & mis, string const & cor);
+       ///
+       char const * nextMiss();
+       ///
+       char const * error();
+
+private:
+       ///
+       PspellManager * sc;
+       ///
+       PspellStringEmulation * els;
+       ///
+       PspellCanHaveError * spell_error_object;
+       ///
+       spellStatus flag;
+       ///
+       const char * error_;
+       ///
+       bool alive_;
 };
-   
-#endif
-
 
+#endif