2 #ifndef _SPELLCHECKER_H
3 #define _SPELLCHECKER_H
5 /* These functions are defined in lyx_cb.C */
10 /** The returned word has to be deleted manually
12 char* NextWord(float &value);
15 /** MarkLastWord should only be used immidiately after NextWord().
16 If you give control back to the user, you _have_ to call EndOfSpellCheck()
17 or SelectLastWord(), otherwise segfaults should appear.
19 void EndOfSpellCheck();
21 void SelectLastWord();
23 void ReplaceWord(LString const & replacestringstring);
26 /** This function has to be implemented by the spell checker.
27 * It will show the spellcheker form*/
28 void ShowSpellChecker();
30 void SpellCheckerOptions();