View Single Post
Old 06-18-2019, 11:19 AM   #16
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,880
Karma: 6120478
Join Date: Nov 2009
Device: many
Well that would have been nice to know!

So do you use the QWebChannel.js or do you serialize and send back and forth across a pipe, or yourself?

I will take a peek to try to understand your approach.

That said, I really am not a javascript programmer (what I know about javascript you could put in a thimble) but luckily I have been able to adapt the javascript used in Sigil to get effectively a cfi (webpath) to synchronize scrolling between our CodeView and Preview.

Take care,

KevinH

Quote:
Originally Posted by kovidgoyal View Post
I actually wrote my own browser as way to learn the warts of web engine https://github.com/kovidgoyal/vise

so porting calibre stuff to it was relatively painless, in comparison.
KevinH is offline   Reply With Quote