Okay, I just tested Manjaro Linux with the KDE Plasma desktop and if you run the test
Code:
1. open an epub and go to a longer xhtml chapter
and open it. Scroll down in Preview to a place
farther down the xhtml file and *important*
click on a line so that the current CodeView
tab syncs to it.
2. Now use BookBrowser to open the main css file
and edit it in CodeView by adding a space.
You can repeat these edits.
3. After every css file edit you should see Preview flash
as it reloads (and on my Mac and Linux using our Beta
and Sigil 2.7.0), Preview *does* return to its previous
scrolled position in that cached xhtml file.
This is because Preview's last scroll to location is stored when that xhtml file was last loaded and that location is used everytime it is reloaded. But somehow on Windows setting the new xhtml file position, is not setting the location cache.
So I have no idea why Windows is behaving differently than MacOS and Linux here. It must be somehow related to the sequence of signals not properly caching the the location when it caches an xhtml file that last time it was loaded.
On MacOS and Linux, when you click down in a file in Preview, it tells the xhtml file in CodeView to sync to it which generates an UpdatePreview signal which caches the file and any associated location.
Something to look at for the release after Sigil 2.7.5 unless it is easy to fix.