mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
add missing spell check requests for Paragraph::appendChar() and Paragraph::appendString()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39502 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e92c786618
commit
5098c71730
@ -1638,6 +1638,7 @@ void Paragraph::appendChar(char_type c, Font const & font,
|
||||
// when appending characters, no need to update tables
|
||||
d->text_.push_back(c);
|
||||
setFont(d->text_.size() - 1, font);
|
||||
d->requestSpellCheck(d->text_.size() - 1);
|
||||
}
|
||||
|
||||
|
||||
@ -1658,6 +1659,7 @@ void Paragraph::appendString(docstring const & s, Font const & font,
|
||||
for (size_t i = oldsize; i != newsize; ++i) {
|
||||
// track change
|
||||
d->changes_.insert(change, i);
|
||||
d->requestSpellCheck(i);
|
||||
}
|
||||
d->fontlist_.set(oldsize, font);
|
||||
d->fontlist_.set(newsize - 1, font);
|
||||
|
Loading…
Reference in New Issue
Block a user