View Single Post
Old 01-10-2022, 03:37 PM   #17
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
I think I reproduced what AlanHK is saying.

* * *

Steps to Reproduce

Open attached EPUB.

1. Tools > Spellcheck > Spellcheck.

2. Make sure "Show All Words" is unchecked + sort by Word column.

3. Scroll down to the word "Texty".

4. Double-click on the word to hop to it in Code View.

5. Correct "Texty ans" to "Texans" in the code itself.

While you're there, you spot "Anoother" + "Erorr" right next to it.

Correct to "Another" + "Error".

6. Back in the Spellcheck List, click on another random word, like "Neque".

7. Change Selected Word To: Equine.

* * *

This is where AlanHK's issue is.

The Spellcheck List at Step 6 is here:

Code:
Nec      1
Neque    1 <--- Your highlight is here.
Nisi     1
Nisl     1
Nunc     2
The Spellcheck List after Step 7 is here:

Code:
Nec      1
Nisi     1
Nisl     1
Nunc     2 <--- Highlight is now here.
When you expect it to be:

Code:
Nec      1 <--- Highlight should be here.
Nisi     1
Nisl     1
Nunc     2
It seems like it's hopping down as many words as there were manual corrections.

So if you did 4 manual corrections, the highlight would hop down 4 spots.

* * *

Note: This time, check "Show All Words", then repeat the exact same steps.

After Step 7, the highlight stays in the same spot:

"Neque" -> "Nec"

No hopping bug.

You can also just do Steps 6+7 by themselves. And the highlight also goes from "Neque" -> "Nec".

The odd hopping only seems to appear when "Show All Words" is unchecked.
Attached Files
File Type: epub Sigil.Spellcheck.List.Highlight.Test.epub (2.7 KB, 140 views)

Last edited by Tex2002ans; 01-10-2022 at 03:40 PM.
Tex2002ans is offline   Reply With Quote