32#include <sptk5/sptk.h>
126 AspellSpeller* m_spellChecker;
133 std::string m_personalDirectory;
142 static void getConfigStrings(AspellConfig* aconfig,
CSpellOptions& options);
148 void setLocalOptions(AspellConfig* aconfig);
245 void personalDirectory(
const String& dir)
247 m_personalDirectory = dir;
253 String personalDirectory()
const
255 return m_personalDirectory;
273 uint32_t m_bufferPosition {0};
Definition: CDialog.h:126
Definition: CEditorSpellChecker.h:264
virtual bool replaceWord(const String &w, int wordStart, int wordEnd)
virtual bool getNextWord(String &w, int &wordStart, int &wordEnd)
CEditorSpellChecker(CEditor *editor)
Definition: CEditorSpellChecker.h:280
Text editor widget.
Definition: CEditor.h:50
List view widget.
Definition: CListView.h:108
Definition: CEditorSpellChecker.h:107
virtual bool replaceWord(const String &w, int wordStart, int wordEnd)
Definition: CEditorSpellChecker.h:226
static void cb_suggest(Fl_Widget *, void *)
void getDictionaries(Strings &dictionaries)
CSpellOption & operator[](const String &optionName)
void getOptions(CSpellOptions &options)
virtual bool getNextWord(String &w, int &wordStart, int &wordEnd)
Definition: CEditorSpellChecker.h:218
static void cb_replaceword(Fl_Widget *, void *)
static void cb_ignore(Fl_Widget *, void *)
virtual void textStart()=0
static void cb_learn(Fl_Widget *, void *)
virtual ~CSpellChecker()
Definition: CEditorSpellChecker.h:196
Definition: CEditorSpellChecker.h:50
CSpellOption(const String &name, const String &value)
String m_value
Definition: CEditorSpellChecker.h:60
CSpellOption & operator=(const char *value)
CSpellOption & operator=(const String &value)
CSpellOption(const CSpellOption &co)
Definition: CEditorSpellChecker.h:70
String m_name
Definition: CEditorSpellChecker.h:55
Definition: CEditorSpellChecker.h:91
CSpellOptions()
Definition: CEditorSpellChecker.h:97