https://bugs.documentfoundation.org/show_bug.cgi?id=126814

--- Comment #4 from Justin L <[email protected]> ---
(In reply to Justin L from comment #3)
> HOWEVER, the dialog is in "resume" mode. 
> So I have to accept "resume" before I can continue spell checking, and
> now the CorrectAll list has been cleared.
Resume intentionally clears the list. See cui/source/dialogs/SpellDialog.cxx
IgnoreHdl calling Impl_Restore which calls the session's
LinguMgr::GetChangeAllList()->clear().

Resume is needed when SwSpellDialogChildWindow::GetFocus calls
InvalidateSpellDialog - which is when the cursor position has changed (possibly
in a different document).


Note that LinguMgr's list is a session list. In other words, it would affect
other documents open at the same time if both were doing spell checking.
(STARTING a spell check in another document also resets the ChangeAllList
list.)

We don't want to avoid resetting ChangeAllList when resuming because during the
lose of focus we might have filled the list with another document's spell
check, and definitely that should not affect our document.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to