mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-13 20:09:59 +00:00
Spellchecker Bug fix: found word was not filled in.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30351 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c95f44b0b1
commit
b8c470d55f
@ -3385,8 +3385,10 @@ int Buffer::spellCheck(DocIterator & from, DocIterator & to,
|
||||
while (from.inMathed())
|
||||
from.forwardInset();
|
||||
to = from;
|
||||
if (from.paragraph().spellCheck(from.pos(), to.pos(), wl, suggestions))
|
||||
if (from.paragraph().spellCheck(from.pos(), to.pos(), wl, suggestions)) {
|
||||
word_lang = wl;
|
||||
break;
|
||||
}
|
||||
from = to;
|
||||
++progress;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user