-ASpell::ASpell(BufferParams const &, string const & lang)
- : els(0), spell_error_object(0)
+ASpell::ASpell(): els(0), spell_error_object(0)
// platforms (cygwin, OS X). Therefore we use utf-8, that does
// always work.
aspell_config_replace(config, "encoding", "utf-8");
// platforms (cygwin, OS X). Therefore we use utf-8, that does
// always work.
aspell_config_replace(config, "encoding", "utf-8");
// Consider run-together words as legal compounds
aspell_config_replace(config, "run-together", "true");
else
// Consider run-together words as legal compounds
aspell_config_replace(config, "run-together", "true");
else
if (word_ok)
return OK;
AspellWordList const * sugs =
aspell_speller_suggest(m, to_utf8(word.word()).c_str(), -1);
if (word_ok)
return OK;
AspellWordList const * sugs =
aspell_speller_suggest(m, to_utf8(word.word()).c_str(), -1);