mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-14 12:25:11 +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())
|
while (from.inMathed())
|
||||||
from.forwardInset();
|
from.forwardInset();
|
||||||
to = from;
|
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;
|
break;
|
||||||
|
}
|
||||||
from = to;
|
from = to;
|
||||||
++progress;
|
++progress;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user