X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FAspellChecker.cpp;h=c4b24199940fa2146418638e50024b11abf0694e;hb=1639abb8edaa492c649e69d093436f8a96f07bec;hp=ad4ca976e89311f636dff4eb754afee0af40571c;hpb=1b1f8dd235ba8e168348cd23c824063f2595a0c5;p=lyx.git diff --git a/src/AspellChecker.cpp b/src/AspellChecker.cpp index ad4ca976e8..c4b2419994 100644 --- a/src/AspellChecker.cpp +++ b/src/AspellChecker.cpp @@ -219,7 +219,7 @@ AspellConfig * AspellChecker::Private::getConfig(string const & lang, string con } if (!have_dict) { // check for package data of OS installation - have_dict = checkAspellData(config, osPackageBase(), osPackageDataDirectory(), osPackageDictDirectory(), lang, variety); + checkAspellData(config, osPackageBase(), osPackageDataDirectory(), osPackageDictDirectory(), lang, variety); } return config ; } @@ -357,6 +357,8 @@ SpellChecker::Result AspellChecker::Private::check( { SpellChecker::Result result = WORD_OK; docstring w1; + LYXERR(Debug::GUI, "spellCheck: \"" << + word.word() << "\", lang = " << word.lang()->lang()) ; docstring rest = split(word.word(), w1, '-'); for (; result == WORD_OK;) { string const word_str = toAspellWord(w1);