1999-09-27 18:44:28 +00:00
|
|
|
// -*- C++ -*-
|
2000-07-24 13:53:19 +00:00
|
|
|
/* This file is part of
|
|
|
|
* ======================================================
|
|
|
|
*
|
|
|
|
* LyX, The Document Processor
|
|
|
|
*
|
|
|
|
* Copyright 1995 Matthias Ettrich
|
|
|
|
* Copyright 1995-2000 The LyX Team.
|
|
|
|
*
|
|
|
|
* ====================================================== */
|
|
|
|
|
1999-11-22 16:19:48 +00:00
|
|
|
#ifndef SPELLCHECKER_H
|
|
|
|
#define SPELLCHECKER_H
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2000-07-24 13:53:19 +00:00
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
/* These functions are defined in lyx_cb.C */
|
|
|
|
|
2000-02-22 00:36:17 +00:00
|
|
|
class BufferView;
|
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.
|
|
|
|
*/
|
2000-01-08 21:02:58 +00:00
|
|
|
//void EndOfSpellCheck();
|
1999-09-27 18:44:28 +00:00
|
|
|
///
|
2000-01-08 21:02:58 +00:00
|
|
|
//void SelectLastWord();
|
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*/
|
2000-02-22 00:36:17 +00:00
|
|
|
void ShowSpellChecker(BufferView *);
|
1999-09-27 18:44:28 +00:00
|
|
|
///
|
|
|
|
void SpellCheckerOptions();
|
|
|
|
|
|
|
|
#endif
|