]> git.lyx.org Git - lyx.git/blob - src/spellchecker.h
obvious
[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 class LString;
8
9
10 /** The returned word has to be deleted manually
11  */
12 char* NextWord(float &value);
13
14
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.
18  */
19 void EndOfSpellCheck();
20 ///
21 void SelectLastWord();
22 ///
23 void ReplaceWord(string const & replacestringstring);
24
25
26 /** This function has to be implemented by the spell checker.
27   * It will show the spellcheker form*/ 
28 void ShowSpellChecker();
29 ///
30 void SpellCheckerOptions();
31
32 #endif