]> git.lyx.org Git - lyx.git/blob - src/spellchecker.h
read ChangeLog, a lot of whitespace changes. experimental use of libtool
[lyx.git] / src / spellchecker.h
1 // -*- C++ -*-
2 #ifndef SPELLCHECKER_H
3 #define SPELLCHECKER_H
4
5 /* These functions are defined in lyx_cb.C */
6
7 /** The returned word has to be deleted manually
8  */
9 char * NextWord(float & value);
10
11
12 /** MarkLastWord should only be used immidiately after NextWord().
13  If you give control back to the user, you _have_ to call EndOfSpellCheck()
14  or SelectLastWord(), otherwise segfaults should appear.
15  */
16 void EndOfSpellCheck();
17 ///
18 void SelectLastWord();
19 ///
20 void ReplaceWord(string const & replacestringstring);
21
22
23 /** This function has to be implemented by the spell checker.
24     It will show the spellcheker form*/ 
25 void ShowSpellChecker();
26 ///
27 void SpellCheckerOptions();
28
29 #endif