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?
|