mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-21 15:18:45 +00:00
1d7d3cc4af
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@329 a592a061-630c-0410-9148-cb99ea01b6c8
30 lines
679 B
C++
30 lines
679 B
C++
// -*- C++ -*-
|
|
#ifndef SPELLCHECKER_H
|
|
#define SPELLCHECKER_H
|
|
|
|
/* These functions are defined in lyx_cb.C */
|
|
|
|
/** The returned word has to be deleted manually
|
|
*/
|
|
char * NextWord(float & value);
|
|
|
|
|
|
/** 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();
|
|
///
|
|
void ReplaceWord(string const & replacestringstring);
|
|
|
|
|
|
/** This function has to be implemented by the spell checker.
|
|
It will show the spellcheker form*/
|
|
void ShowSpellChecker();
|
|
///
|
|
void SpellCheckerOptions();
|
|
|
|
#endif
|