On 09/25/2018 03:54 AM, Patrick Dupre wrote:
OK Paul,
I made a sort file and tested the "replace all"
It works, but, it leaves the spellchecker mode at the end,
while it could have kept it open, by
1) dealing with the next occurrence to potentially correct (keeping in mind
that it will have to deal with all the replacements previously asked),
or
2) dealing with all the replacements (like it does now), and then returning to the
"beginning"
of the document to deal to the next occurrence.
Too complicate?
I see what you mean. I agree with you. Once opened, the spelling check
window should remain open until the user closes it (or at least until
all errors are fixed). I made a little test document with three
occurrences of one error and one occurrence of a different error. After
doing a global replace to fix the first problem, the dialog closed,
leaving the second error still present.
Personally, I think it would be fine to close the window when there are
no errors left. I just filed a bug ticket on this
(https://www.lyx.org/trac/ticket/11310). If you disagree about closing
the dialog when the document is error-free (according to the spellcheck
engine and current dictionaries), feel free to attach a comment to the
ticket.
Paul