View Single Post
Old 06-01-2025, 09:34 AM   #10
philja
Addict
philja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enough
 
Posts: 270
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
Quote:
Originally Posted by KevinH View Post
There is no CV sync Preview to the error capability and there never has been. All CV does when syncing is to tell Preview where to scroll to to match its current position. After a pause in editing in CV, Preview is told reload the page. If there is an xml syntax error in the new page, Preview will alert you but show as much of the page up to the issue location as possible. Whether you can immediately see that or not has always depended on how much of the page Preview can show before it gives up. CV has nothing to do with that.

You may have seen it more often in Sigil 2.5.0 but only as a consequence of it constantly and incorectly repositioning Preview to the top of page.
I never claimed that Preview Synced with the error in CV. But in my experience (and with a load of authors I've introduced to Sigil), the moment an error was made, Preview repositioned to the top of page to display the error message. The user then had to find the error from the line position indicated in the error message - although not perfect.

If, as you say, this was incorrect repositioning to the top of page by Preview, then it was a happy mistake. It enabled the user to know a mistake had been made.

With Preview staying synced with CV in 2.5.1, Sigil might as well not generate an error message because no one can see it.

You say " Preview will alert you but show as much of the page up to the issue location as possible." This is what it did but not any more in 2.5.1

The only time I can get it to behave as it did before is if I damage the </body> tag at the bottom of an xhtml file. Then Preview displays the error message at the top plus as much of the page as it can, from the top.

If I damage one of the tags in the last text paragraph of the xhtml file, no error is displayed (visibly) and Preview stays synced with CV and all looks good.

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.

Last edited by philja; 06-01-2025 at 09:50 AM.
philja is offline   Reply With Quote