View Single Post
Old 02-26-2022, 11:52 AM   #42
Ashjuk
Fanatic
Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.Ashjuk ought to be getting tired of karma fortunes by now.
 
Ashjuk's Avatar
 
Posts: 500
Karma: 3498633
Join Date: May 2011
Location: Surrey, UK
Device: Kobo Aura One, Sony PRS 600/650
Quote:
Originally Posted by KevinH View Post
Hi Ashjuk,

It is supposed to do that. The wrap flag only has meaning in Current File mode. Since any search in Current File could start in the middle of that file and miss things, the wrap indicator flag tells it to go back to the start of that file and start searching again. It has always worked like that.

But when you set the target to All HTML files and search, it will now always start at the top of the first file (in BookBrowser order) and proceed sequentially from there. That is what you are seeing.

You asked it to run a search on ALL html files (not selected or tabbed) and so it will do exactly that. But it does that not starting from where it is now, which can miss replacements at the top of the file, it will always start with the first target file in the set.

Once complete, it will not go back to where the search started as it needs to process ALL html files as you told it to. Wrap has nothing to do with this behaviour as wrap has meaning in Current File only search.

Before giving up, have you thought about running your multiple searches from Saved Searches and just skipping over replacements you decide you do not want?

Hope this explains things better.

Kevin
Kevin,

Indeed it does. It appears I have been mistaken all along as I assumed that wrap applied to the whole book and not just the current file.

I'm not sure saved searches would be a lot of help to me. I tend to do S&Rs on items as I come across them whilst working my way through a book - which is why I like to have the focus returned to my editing point.

Given that what I use Sigil for (light editing) the improvements in 1.9 are outweighed by change to the way search works.

For me, there was nothing missing or broken in 1.8, so its probably best that I stick with that from now on.

Thanks for all your hard work anyway.
Ashjuk is offline   Reply With Quote