mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Fix continuous spell checking
The extra check became useless after4796e6b3
, but its presence only broke continuous spell checking afterf65f3adb
.
This commit is contained in:
parent
d88e401589
commit
4ede231ef1
@ -631,11 +631,9 @@ void RowPainter::paintText()
|
||||
case Row::VIRTUAL:
|
||||
paintStringAndSel(e);
|
||||
|
||||
// Paint the spelling mark if needed.
|
||||
if (lyxrc.spellcheck_continuously && pi_.do_spellcheck
|
||||
&& par_.isMisspelled(e.pos)) {
|
||||
// Paint the spelling marks if enabled.
|
||||
if (lyxrc.spellcheck_continuously && pi_.do_spellcheck)
|
||||
paintMisspelledMark(orig_x, e);
|
||||
}
|
||||
break;
|
||||
case Row::INSET: {
|
||||
// If outer row has changed, nested insets are repaint completely.
|
||||
|
Loading…
Reference in New Issue
Block a user