View Single Post
Old 12-10-2024, 01:34 PM   #4
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,790
Karma: 6000000
Join Date: Nov 2009
Device: many
FWIW, at its simplest use the built in regular expression Find ability in QPlainTextEdit to find your string.

Then if you need to sync Preview, then extract the current cursor position in the file being edited and use an xml parser (Qt has one) to extract the webpath for that position and build up a javascript command to scroll to it and run that on Preview.
KevinH is offline   Reply With Quote