03-10-2014, 05:32 PM | #1 |
Night Reader
Posts: 127
Karma: 4314
Join Date: Oct 2010
Location: Rocky Mountains (US)
Device: Sony PRS-650
|
Disable search history?
Using the stand-alone capability of the Editor, I edit a fair number of books, but the drop-down lists (history) in the Find and Replace fields just get in my way, although I recognize that others may find this helpful.
What I would really like is to be able to set a preference to *not* remember contents of the Find and Replace fields -- also workable would be a quick and easy way (button?) to delete prior searches as I work. Is this possible? (It would be great to have this capability in the stand-alone Viewer, as well, but not as critical there.) Kovid, I absolutely *love* the work you've done on the Editor, and I only wish I could support your work more substantively than I can -- but should my ship come in, you're on my short list. Last edited by Under the Covers; 03-10-2014 at 05:37 PM. |
03-10-2014, 11:26 PM | #2 |
creator of calibre
Posts: 44,017
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Can you elaborate on how/why they get in your way. As far as I know, if you dont press the up or down arrot keys, they are never used and you can just pretend they dont exist.
|
Advert | |
|
03-10-2014, 11:49 PM | #3 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
It is very distracting, when you type a match and it pops up, but mostly because for some reason the cursor seems to be missing.
I would like the ability to delete them, though, to make the search history more useful. In the main GUI, it doesn't really matter so much, since you will end up with a bunch of totally different things which you can ignore, but when editing, spelling is crucial, and you may also need to just slightly tweak that regex... I find myself with a list of 10 or 12 more or less identical regexes, and no way to tell which one is which. If I could delete them once I get the right one, only that one would be left, which would make the history useful, but right now there's just too much garbage in it. Of course, I could edit the config files by hand, but... Last edited by eschwartz; 03-11-2014 at 01:27 AM. Reason: typo |
03-11-2014, 12:14 AM | #4 |
creator of calibre
Posts: 44,017
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I have fixed the problem of the cursor disappearing
|
03-11-2014, 12:43 AM | #5 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Thanks!
|
Advert | |
|
03-11-2014, 01:29 AM | #6 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
What are your thoughts on adding in the ability to delete entries from the history?
|
03-11-2014, 01:38 AM | #7 |
creator of calibre
Posts: 44,017
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Since the history list is sorted by most-recently-used entries, those that you would want to delete should naturally just drop of the list with time. So I dont really see the point of deleting entries.
|
03-11-2014, 07:26 AM | #8 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
Is it possible to just make it an option to pop up or not? I have to work with variations of the paragraph marker all the time but at any given time, like right now, I am working with just one. The one time searches and replaces get in the way. For me there is such a clutter of them, the choices just get into way. It takes longer to go through the list than just type it or use my macro program.
It is just a relatively minor annoyance, though. |
03-11-2014, 11:53 AM | #9 |
Dead account. Bye
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
|
As I posted in other thread what I don't like about history is that initial or ending spaces are ignored. I would really apreciate them being treated like any other char.
I use them a lot in a regex search which I use for detecting dashes joined to words (a situation which Spanish books use a lot in the way we write dialogue sentences). |
03-11-2014, 12:28 PM | #10 |
creator of calibre
Posts: 44,017
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@arspr: You should never use initial and ending spaces. For one thing, how would you know how many spaces characters are there at the start, or if there are space characters at the end? Use \s+ or if for some reason you want to match only the single space character and not tabs or other white space characters, use [ ]
@mrmikel: If you dont wish to use the list, just ignore it. I still dont see how it gets in the way. |
03-11-2014, 04:10 PM | #11 | |
Guru
Posts: 691
Karma: 3026110
Join Date: Dec 2008
Location: Lancashire, U.K.
Device: BeBook 1, BeBook Pure, Kobo Glo, (and HD),Energy Sistem EReader Pro +
|
Quote:
BobC |
|
03-11-2014, 05:28 PM | #12 | |
Dead account. Bye
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
|
Quote:
Let's explain my usage and you'll see that not using spaces is pretty weird, while using them is pretty simple and straightforward. More over spaces DO work perfectly, what doesn't work is the history saving of my strings in the Find and Replace text boxes, just because those spaces are ignored and deleted. In Spanish books, dialogue sentences like Code:
<p>"Bla, Bla, Bla," John said. "More bla, bla, bla."</p> Code:
<p>—Bla, Bla, Bla, —John said—. More bla, bla, bla.</p> So I use the next two searches and replacements systematically in my Spanish ebooks (I use quotes to make spaces visible):
And it works, I promise you. My only trouble is that my saved strings in the history have lost the initial/final spaces. I have to re-type or fix them every single time I use them. More over I can understood your trick in the Find string where, instead of " ", you suggest using "[ ]", but, how do I type the replacement string? Are you suggesting:
|
|
03-11-2014, 05:34 PM | #13 | |
Night Reader
Posts: 127
Karma: 4314
Join Date: Oct 2010
Location: Rocky Mountains (US)
Device: Sony PRS-650
|
Quote:
My searches are for just normal text and/or scanning errors -- and I too often use surrounding spaces to quickly isolate specific instances -- something that serves perfectly in text searches. I don't use regex; I realize it is second-nature for many, but for me it has been too much of a struggle, and simple text searches serve very well for what I do. |
|
03-11-2014, 09:12 PM | #14 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
I have the same experience in Win7 with the lists popping up.
|
03-11-2014, 09:13 PM | #15 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
and on linux. (Ubuntu 12.04 LTS)
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Enable/disable search highlighting | katiez | Library Management | 2 | 12-05-2013 02:42 PM |
Disable indexing (search) = longer battery life! | statethatiamin | Kindle Developer's Corner | 58 | 05-02-2012 07:58 AM |
Disable search-while-typing for authors in Edit Metadata | QuantumBeep | Library Management | 2 | 06-03-2011 12:44 AM |
Search History is getting in my way | RichieTheK | Calibre | 10 | 09-26-2010 09:11 AM |
Search History | joserramon | Calibre | 3 | 12-22-2009 11:15 AM |