04-29-2024, 02:22 PM | #1 |
Addict
Posts: 303
Karma: 2228060
Join Date: Dec 2013
Location: LaVernia, Texas
Device: kindle epub readers on android
|
editor chains search and replace
I see there is a way to limit search and replace to current file, but I do not see how to limit search and replace to a highlighted section within a file. Is this possible? Best regards, Pop
|
04-30-2024, 08:19 AM | #2 |
Wizard
Posts: 1,139
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
When I was coding it, I was not able to make this option work for some reason I do not remember now (It was 3 years ago). So I ended up abandoning this option because I did not think it would have much value for automation. If you are going to mark text, you are already in interactive mode and can apply calibre saved searches directly.
|
Advert | |
|
04-30-2024, 09:54 AM | #3 | |
Addict
Posts: 303
Karma: 2228060
Join Date: Dec 2013
Location: LaVernia, Texas
Device: kindle epub readers on android
|
Quote:
a list of search and replace? Best regards, Pop |
|
04-30-2024, 10:06 AM | #4 |
Wizard
Posts: 1,139
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
No, it will not work.
|
04-30-2024, 10:21 AM | #5 |
Wizard
Posts: 1,139
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
Try this version and see whether it works for you. I gave it a quick go, but I am not willing to dig deeper on this issue.
|
Advert | |
|
04-30-2024, 11:14 AM | #6 |
Well trained by Cats
Posts: 30,442
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
You can select more than 1 SAVED SEARCH, and click Replace all in the Editor. That works for the selected search 'scope'
It is the 'selected text' bit that has me puzzled. If this is repetitive, can't you just make the FIND more refined so that the Selected Text is not needed? |
04-30-2024, 08:33 PM | #7 | |
Addict
Posts: 303
Karma: 2228060
Join Date: Dec 2013
Location: LaVernia, Texas
Device: kindle epub readers on android
|
Quote:
|
|
04-30-2024, 08:57 PM | #8 | |
Addict
Posts: 303
Karma: 2228060
Join Date: Dec 2013
Location: LaVernia, Texas
Device: kindle epub readers on android
|
thanks
Quote:
I do my primary writing in the tag editor and no longer employ text editor or word processor. I do a lot of text expansion with calibre's snippets, but they require initiation with ctrl-j afterwords. I have tried out autokey (not autohotkey) but it will not use regex. This works real well for my purposes. It's compact. The top line numbers 1-0 produce four different text expansions for each key press depending on what is around the number: space1space, letter1space, space1letter, letter1space produce four different outputs. So you can input suffixes, prefixes, internal, or free-standing. Best regards, Pop |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Editor Plugin] Editor Chains | capink | Plugins | 94 | 07-03-2024 08:26 PM |
No plugin named Editor Chains found | tatagi | Calibre | 6 | 01-27-2023 10:34 AM |
Regex in search problems (NOT Search&Replace; the search bar) | lairdb | Calibre | 3 | 03-15-2017 08:10 PM |
Missing "function mode" for editor's Search & Replace | atux | Editor | 3 | 01-17-2016 09:40 AM |
Editor - Global Search/Replace of underscore format | Canoe | Editor | 1 | 07-11-2015 11:57 PM |