![]() |
#1 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 477
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Is there any way to search all style & text files at once?
As the title says.
Most of the things I want to do unambiguously affect one or the other, not both. As a random example, I'd want to delete all occurrences of "text-align: justify", then search for "today is Friday". It just adds an extra unnecessary step to have to switch between the two types of files. If there isn't a way to do this, can I request the change to add it? |
![]() |
![]() |
![]() |
#2 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 141
Karma: 13776
Join Date: Jan 2007
Location: semi-north Ontario, Canada (N 45.41 W -79.67)
Device: iPad Air 5, Samsung Galaxy S20 FE
|
There is a dropdown in the search dialog that lets you select Current file, All text files, All style files, Selected files, Open files or Marked text.
Am I misinterpreting your question? |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,334
Karma: 168808725
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I think the OP wants be able to search in all files so they do not need to switch from all style files to all text files to ncx file or opf file.0.
I personally feel that since search for a specific item in the style files is different enough from searching for an inline style in a text file, it's not a good idea and is likely to give problems trying to validate a ePub. |
![]() |
![]() |
![]() |
#4 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
![]() |
![]() |
![]() |
#5 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 477
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Quote:
Last edited by foosion; 05-06-2025 at 06:15 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 477
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Yes, you are misinterpreting. You have to choose one of those. It is not possible to search All text and All style as part of one search. I want a combined category of style and text.
|
![]() |
![]() |
![]() |
#7 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,334
Karma: 168808725
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
You can try a work around by selecting all the text and style files in the file browser and Selected files in the dropdown. See images for results. Again, I do not recommend doing this especially if you are using regex. As the images show, size is found 21 times in the text files, 42 times in the CSS files and 63 times in the combined text/CSS files.
Last edited by DNSB; 05-06-2025 at 02:42 PM. |
![]() |
![]() |
![]() |
#8 | |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,814
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Keep raw text in Search & Replace (nbsp and old mobi format) | Mr Groch | Conversion | 5 | 06-25-2019 10:53 PM |
Search & Replace Same Content with Style | LeftOvers | Editor | 7 | 09-29-2017 11:51 PM |
diff & automerge multiple text files | SBT | Workshop | 3 | 04-25-2012 10:47 AM |
Safari downloads MOBI & EPUB as text files | webfolk | Workshop | 3 | 11-14-2010 03:27 AM |
Search & replace TEXT | ToeRag | Calibre | 3 | 04-10-2010 01:44 PM |