mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
#7884 add check for missing dictionaries when spell check starts... forgot to implement numDictionaries for Enchant in r40568
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40572 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0c7554baaf
commit
5a80aa6fcf
@ -188,6 +188,12 @@ bool EnchantChecker::hasDictionary(Language const * lang) const
|
||||
}
|
||||
|
||||
|
||||
int EnchantChecker::numDictionaries() const
|
||||
{
|
||||
return d->spellers_.size();
|
||||
}
|
||||
|
||||
|
||||
docstring const EnchantChecker::error()
|
||||
{
|
||||
return docstring();
|
||||
|
@ -37,6 +37,7 @@ public:
|
||||
void remove(WordLangTuple const &);
|
||||
void accept(WordLangTuple const &);
|
||||
bool hasDictionary(Language const * lang) const;
|
||||
int numDictionaries() const;
|
||||
docstring const error();
|
||||
void advanceChangeNumber();
|
||||
///@}
|
||||
|
Loading…
Reference in New Issue
Block a user