bug 2062: Spellcheck stops at ligature breaks without warning

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10524 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2005-10-05 13:44:17 +00:00
parent 141e4d0e7b
commit 03eed1b8ba
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-10-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* ControlSpellchecker.C (nextWord): do not return empty word
unless at the end of the document (bug 2062)
2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* ControlSpellchecker.C (check): make sure that word at cursor

View File

@ -166,7 +166,7 @@ WordLangTuple nextWord(DocIterator & cur, ptrdiff_t & progress,
}
} else { // !isLetter(cur)
if (inword)
if (!ignoreword)
if (!word.empty() && !ignoreword)
return WordLangTuple(word, lang_code);
else
inword = false;