View Single Post
Old 05-08-2025, 01:16 PM   #21
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,893
Karma: 6120478
Join Date: Nov 2009
Device: many
I think it would be rather straightforward for PageEdit to accept a cursor position number on the command line when launched from Sigil that could be used to generate a QWebPath to perform a scroll to in PageEdit's WebView.

It would not guarantee the cursor to be at the exact same place but it would end up quite close (just like syncing CodeView to Preview right now).

If there is reasonable interest in making that change, I would be happy to include it. It will only work when PageEdit is launched from Sigil. And of course only if the current file open in CV is an xhtml file when the External XTML editor icon is used.

Thoughts?
KevinH is offline   Reply With Quote