![]() |
Oh, and I never close the Saved Searches window between uses. it always stays open.
I edit stories using Sigil and I use a number of groups of searches to help fix some of the common edits that I find. I use groups that find different classes of things I search for and some of my Groups are 30 or 40 items long. Using Groups are much more productive than individual searches because I can run through a large number of searches quickly and only stop at the ones I need to. Fix what is needed and run through the Group again until all items have been checked. For instance I have a group that checks for abbreviations of metrics link mm, cm, etc. which I replace the abbreviation with the full spelling. Like mm to millimeters. But I stop at each instance to see if in fact that's what was meant. Probably not exactly what Sigil was designed for but it works quite well for it. I guess I can always go bock to 1.7. Paul |
Then I'm afraid I'm still not replicating your particular issue. The only way I can get Replace to fail is to close the Saved Searches dialog after a Find.
|
Okay, I'll try again.
Open Saved Searches. Click on a Group heading. Click on Find (on Saved Searches dialog box) When a match is indicated in main window. Click on Replace in Find and Replace dialog below main window. Nothing happens no matter how many times I click Replace (Only if Regex is selected) until I do a Find in Find and Replace dialog |
Yourgroup search controls in Saved Searches determines if regex or not. Again what Saved Search Search Controls have you set?
|
Quote:
Paul |
In the Saved Search Window:
- widen the window so you can see all column settings - for any individual saved search double click its that rows controls column - A pop up dialog that looks just likethe Find and Replace settings should appear. - use it to set the controls you want - close it to save If thissearch is part of a search group,all following searches in that group will effectively inherit those last used settings so you do not need to fill things in (but you can and there isa copy controls and fill context menu if you would like). |
Wow, Search controls are super cool. Actually I requested this type of functionality a bunch of years ago. Glad it was finally included.
Oh, yeah. I found it in the Doc. Doesn't fix my current anomaly, but I'm definitely going to take advantage of it now. Paul |
Tabbed HTML Files does NOT work.
Found a Search Controls anomaly.
According to the documentation the code for Target: Tabbed HTML Files = TH. However when selecting the Tabbed HTML Files option it inserts the code TB instead of TH. If you try a search the with the code TB in the Find and Replace does NOT set the Target option. Tabbed HTML Files only works if you set it manually. Paul |
Yes, known bug already fixed in master.
|
Okay, Thanks.
What about my other one where Saved Searches Find doesn't set the flag in Find and Replace saying a search has been performed, when in Regex mode as it does in Normal mode? |
I can not recreate that in master at all but that is with macOS. Perhaps DiapDealer can recreate it in his Windows master build. If so, we will track it down and fix it.
|
I've honestly lost track of what issue I'm looking for here.
|
Was that the one where the OP was doing a search from Saved Search using regex, closing Saved Search and doing the replace from the normal Replace button?
|
Without closing saved search, I think.
|
If it's this one, I'll try to recreate it. I was confused by the "setting flags" aspect in their last description of the problem.
Quote:
|
IF it was the issue I though it was, this was your previous response.
Quote:
|
We are now talking about whether this issue exists in current master as opposed to Sigil-1.8.0
|
1) With Find & Replace widget docked at bottom of main screen.
2) Select Regex Mode 3) open Saved Searches dialog 4) select a saved search 5) click "Find" in the Saved Searches dialog (make sure it finds an instance) 6) When the target is found 7) click "Replace" on the Find & Replace Widget 8) nothing happens until clicking "Find (on the F&R widget) again or Replace find or Replace All. This was first exhibited in 1.80 (for me) the prior version I was using just did the replace function. It acts (to my thinking) like the flag that says a search has been performed in the F&R widget has not been set. Sorry about the time lapse, I'm on the road. PapaKilo |
You initially said it was using a Saved Search Group, right?
Because I can't reproduce the problem with your above steps (single search, not group). With the Saved Search (single) still open, the Replace works as expected for me (Windows 10, Sigil 1.8.0). I haven't gotten around to creating a group of regex Saved Searches yet. |
It does the same with either a Group or individual.
When I mentioned using a Group I was was referring to not being able to use Find and then Replace on the Saved Searches dialog instead of the Replace on F&R widget. |
| All times are GMT -4. The time now is 08:13 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.