1999-09-27 18:44:28 +00:00
|
|
|
// -*- C++ -*-
|
1999-11-22 16:19:48 +00:00
|
|
|
#ifndef SPELLCHECKER_H
|
|
|
|
#define SPELLCHECKER_H
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
/* These functions are defined in lyx_cb.C */
|
|
|
|
|
|
|
|
/** The returned word has to be deleted manually
|
|
|
|
*/
|
1999-11-22 16:19:48 +00:00
|
|
|
char * NextWord(float & value);
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
/** MarkLastWord should only be used immidiately after NextWord().
|
|
|
|
If you give control back to the user, you _have_ to call EndOfSpellCheck()
|
|
|
|
or SelectLastWord(), otherwise segfaults should appear.
|
|
|
|
*/
|
|
|
|
void EndOfSpellCheck();
|
|
|
|
///
|
|
|
|
void SelectLastWord();
|
|
|
|
///
|
1999-10-02 16:21:10 +00:00
|
|
|
void ReplaceWord(string const & replacestringstring);
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
/** This function has to be implemented by the spell checker.
|
1999-11-22 16:19:48 +00:00
|
|
|
It will show the spellcheker form*/
|
1999-09-27 18:44:28 +00:00
|
|
|
void ShowSpellChecker();
|
|
|
|
///
|
|
|
|
void SpellCheckerOptions();
|
|
|
|
|
|
|
|
#endif
|