mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
correct implementation of "mark whole paragraph" for spell check
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39501 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
90dc008182
commit
e92c786618
@ -400,6 +400,9 @@ public:
|
||||
}
|
||||
|
||||
void requestSpellCheck(pos_type pos) {
|
||||
if (pos == -1)
|
||||
speller_state_.needsCompleteRefresh(speller_state_.currentChangeNumber());
|
||||
else
|
||||
speller_state_.needsRefresh(pos);
|
||||
}
|
||||
|
||||
@ -3606,7 +3609,7 @@ Language * Paragraph::Private::getSpellLanguage(pos_type const from) const
|
||||
|
||||
void Paragraph::requestSpellCheck(pos_type pos)
|
||||
{
|
||||
d->requestSpellCheck(pos == -1 ? size() : pos);
|
||||
d->requestSpellCheck(pos);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user