Quote:
Originally Posted by philja
The same happens if I eliminate the final tag in the file, the </html> tag. The error warning message is not visible and Preview stays synced with CV at the bottom of the file and all looks good.
|
Okay I finally got to a place where I had access to my laptop, downloaded Sigil 2.4.2 for macOS, and tried the above.
And you are right, it will sync to the top of file to show the error (but if you remove the end html tag with find and replace and quickly move your cursor someplace earlier in the file, it did not sync to that top.
So someplace in the old code, it is somehow seeing (the error) but only when it happens up to the point that the cursor is located when Preview is reloaded.
And you are correct Qt 2.5.1 does seem to change that behaviour.
I will try to track down what other change might have impacted this.
If it ends up being a Qt internal related change, I may be able to work around if by running a well formed check and if a well formed error happens, do not move Preview to your location, instead scroll it to the top.
Thanks for the bug report.