mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix wrap with Spellchecker after ignore (#10383)
This commit is contained in:
parent
a57cdd0d30
commit
64095a0af2
@ -390,6 +390,13 @@ void SpellcheckerWidget::Private::forward()
|
||||
if (isWrapAround(cursor())) {
|
||||
hide();
|
||||
}
|
||||
// If we reached the end of the document
|
||||
// and have not yet wrapped (which was
|
||||
// checked above), continue from beginning
|
||||
if (cursor().pit() == cursor().lastpit()
|
||||
&& cursor().pos() == cursor().lastpos()
|
||||
&& cursor().text()->isMainText())
|
||||
continueFromBeginning();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user