mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
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:
parent
141e4d0e7b
commit
03eed1b8ba
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user