AuthorList authorlist;
BranchList branchlist;
- IgnoreList spellignore;
+ WordLangTable spellignore;
Bullet temp_bullets[4];
Bullet user_defined_bullets[4];
IndicesList indiceslist;
}
-typedef std::vector<WordLangTuple> IgnoreList;
-
-
-IgnoreList & BufferParams::spellignore()
+WordLangTable & BufferParams::spellignore()
{
return pimpl_->spellignore;
}
-IgnoreList const & BufferParams::spellignore() const
+WordLangTable const & BufferParams::spellignore() const
{
return pimpl_->spellignore;
}
IndicesList & indiceslist();
IndicesList const & indiceslist() const;
///
- typedef std::vector<WordLangTuple> IgnoreList;
- ///
- IgnoreList & spellignore();
- IgnoreList const & spellignore() const;
+ WordLangTable & spellignore();
+ WordLangTable const & spellignore() const;
bool spellignored(WordLangTuple const & wl) const;
/**
* The LyX name of the input encoding for LaTeX. This can be one of
typedef map<std::string, Hunspell *> Spellers;
typedef map<std::string, PersonalWordList *> LangPersonalWordList;
-typedef vector<WordLangTuple> IgnoreList;
-
docstring remap_result(docstring const & s)
{
// substitute RIGHT SINGLE QUOTATION MARK
/// the spellers
Spellers spellers_;
///
- IgnoreList ignored_;
+ WordLangTable ignored_;
///
LangPersonalWordList personal_;
///
bool HunspellChecker::Private::isIgnored(WordLangTuple const & wl) const
{
- IgnoreList::const_iterator it = ignored_.begin();
+ WordLangTable::const_iterator it = ignored_.begin();
for (; it != ignored_.end(); ++it) {
if (it->lang()->code() != wl.lang()->code())
continue;
if (d->isIgnored(wl))
return WORD_OK;
- IgnoreList::const_iterator it = docdict.begin();
+ WordLangTable::const_iterator it = docdict.begin();
for (; it != docdict.end(); ++it) {
if (it->lang()->code() != wl.lang()->code())
continue;
#include "support/docstring.h"
+#include <vector>
+
namespace lyx {
};
+typedef std::vector<WordLangTuple> WordLangTable;
+
+
} // namespace lyx
#endif // WORD_LANG_TUPLE_H