mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
Fix wrap-around of spellchecker (#10383)
This commit is contained in:
parent
74ebb1de7f
commit
8c00556d57
@ -368,6 +368,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();
|
||||
}
|
||||
|
||||
|
||||
|
@ -101,6 +101,8 @@ What's new
|
||||
|
||||
- Fix Thesaurus usage with large text selection (#10528).
|
||||
|
||||
- Fix wrap-around of spellchecker (#10383).
|
||||
|
||||
|
||||
* INTERNALS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user