10-10-2019, 08:27 AM | #1 |
Belgian Pommes Frites
Posts: 102
Karma: 532
Join Date: Jan 2012
Device: Pocketbook Touch HD
|
Saved search for stylesheets only
First of all, I would like to thank all the developers of sigil for all their incredibly hard work. It allows me to use Sigil as my main editor for changing my epub books.
I am at the moment stumped by the following: I use some saved searches only for stylesheet changes. Hence I would like to directly connect these saved searches to any and all stylesheets present. That way I would not have to first click on each stylesheet and then run the search. I thought maybe by using keyboard shortcuts I could connect it. But I realise I know too little to be sure how that might be done. Looking in the manual did not lead to some brilliant idea. Searching on the forum did not provide any hints, but I might have used the wrong search words. So, my questions are: 1. Can it be done at all? 2. If yes, how would I go about it? If anyone can throw any light on this, I would appreciate it. Many Thanks. Capricorn, |
10-10-2019, 12:20 PM | #2 |
Well trained by Cats
Posts: 30,032
Karma: 57259778
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I use saved searches with Stylesheets all the time.
Somewhere, waaay back someone decided to NOT (allowing) store the scope of a search. Stylesheet searches MUST be done while viewing the sheet AND the scope is CURRENT FILE. Other than that, saved searches run just fine. That includes running a Group of searches ON THE stylesheet. FWIW I created A Group Just for Stylesheets searches ( I have lots of other groups. Including Groups within Groups that do a series of other S&R tasks) |
Advert | |
|
10-10-2019, 12:47 PM | #3 |
Grand Sorcerer
Posts: 27,642
Karma: 195154104
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Searching All CSS files in one fell swoop is not currently possible. It doesn't matter if it's a saved search or a manual one.
Like theducks mentioned, you can create a group of saved searches to run. But you'll always have to run that group on each css file present in the epub using the "current file" scope. |
10-10-2019, 02:29 PM | #4 |
Belgian Pommes Frites
Posts: 102
Karma: 532
Join Date: Jan 2012
Device: Pocketbook Touch HD
|
theducks: I recently discovered grouping in searches by reading some other posts. That has been very useful. On top of that, my hope now was to be able to store the scope of a search and which type of files it should work on. Or connect it in some way.
DiapDealer: ah well, I will have to continue doing them one by one. Maybe one day.... Thank you for the information, Capricorn, |
10-10-2019, 03:58 PM | #5 | |
Grand Sorcerer
Posts: 27,642
Karma: 195154104
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
It's going to take a pretty-big restructuring of the search engine logic to accomplish, I think. |
|
Advert | |
|
10-10-2019, 04:09 PM | #6 | |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
so the "All Style Files" search would help in Capricorn's case. |
|
10-10-2019, 04:41 PM | #7 |
Grand Sorcerer
Posts: 27,642
Karma: 195154104
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Yes. It would help a lot of people. Myself included. Patches welcome.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is there a way to use the selection in a Saved Search? | phossler | Editor | 29 | 02-20-2019 10:00 AM |
Difference in Manual Search and Saved Search | phossler | Editor | 4 | 10-04-2015 12:17 PM |
Saved Search: How 2 | theducks | Library Management | 3 | 11-27-2012 02:10 PM |
Editing a saved search | crossi | Library Management | 3 | 06-26-2012 12:12 PM |
Need help setting up a saved search | ficbot | Calibre | 1 | 07-10-2010 02:10 PM |