case SpellChecker::WORD_OK: {
if (wl.word().empty())
break;
+ SpellChecker * speller = theSpellChecker();
+ if (speller && speller->canCheckParagraph())
+ break;
LYXERR(Debug::GUI, "Valid Word.");
+ }
+ // FALLTHROUGH
+ case SpellChecker::LEARNED_WORD: {
+ if (res == SpellChecker::LEARNED_WORD)
+ LYXERR(Debug::GUI, "Learned Word.");
docstring const arg = wl.word() + " " + from_ascii(wl.lang()->lang());
add(MenuItem(MenuItem::Command, qt_("Remove from personal dictionary|r"),
FuncRequest(LFUN_SPELLING_REMOVE, arg)));