![]() |
#16 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,128
Karma: 27110892
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
See my previous posts for why I dont think creating a checkpoint before starting spell check is particularly useful, but, since a number of people have asked for it, here you go:
https://github.com/kovidgoyal/calibr...4bdf80b6442ef9 |
![]() |
![]() |
![]() |
#17 |
Age improves with wine.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 571
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
OK, thanks. However, this still means reverting to the start of the spellcheck and repeating maybe 100+ previous corrections in order to recover from a single error. A "last change undo" would be much more useful IMHO, as an individual spelling correction is basically a quick way of doing a "replace all" (which would be undoable).
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Age improves with wine.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 571
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
But then why can it be done for "replace all" in the search dialog but not for the equivalent global replace in the spellcheck dialog? Or in other words, why is the spellcheck checkpoint a huge performance hit compared to the "replace all" checkpoint?
|
![]() |
![]() |
![]() |
#19 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,128
Karma: 27110892
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Think about the differences in the way that replace all and replace inside the spell check are used.
|
![]() |
![]() |
![]() |
#20 |
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)
|
Kovid --
![]() I never thought that checkpoints for each spellcheck correction would be worth it. I think, however, that this (one before starting spellcheck) will still come in useful, without the steep cost. Much appreciated. @Phssthpok, For one, there is no opportunity to do something similar before "a series of find & replaces". The only time the editor knows you are using one is when you actually run a specific S&R. And S&R is far more flexible, and thus error-prone, than an extremely limited "replace with selected valid word". So there was never a question of whether or not to checkpoint before global S&R. Last edited by eschwartz; 10-18-2015 at 10:23 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#21 | |
Age improves with wine.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 571
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
Quote:
Spellcheck says "replace xxx by yyy" (to quote you). It seems to me that this is just like using "replace all" to replace (\W)xxx(\W) by \1yyy\2, which can then be undone if necessary. So why should it be fantastically more difficult to make the spellcheck change undoable? Sorry to be a pain, but I really don't understand the problem here. |
|
![]() |
![]() |
![]() |
#22 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,128
Karma: 27110892
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
In spell check multiple replaces typically happen quickly, you can essentially click the replace button one after the other with no intervening steps, if the topmost suggestion is correct.
In replace all you need to enter a separate search and replace term each time. That means that the cost of creating checkpoints is relatively much higher in the case of spell check, compared tot he typical time spent per replacement. |
![]() |
![]() |
![]() |
#23 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,861
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I dislike (full) Auto-anythings. (I don't need help messing up. I am very good at it, I have lots of practice
![]() I launch a SAVE before I do another bulk operation... (After checking what I do have ![]() Yes, I have had to retrieve a clean copy ![]() So thank Kovid for leaving the decision of when to save to me. ![]() |
![]() |
![]() |
![]() |
#24 | |
Age improves with wine.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 571
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
Quote:
![]() How about making it an option, disabled by default, which clumsy idiots like me can turn on if we're prepared to accept the performance hit? |
|
![]() |
![]() |
![]() |
#25 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,574
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
My two cents: You know about the performance. In a bit, the performance hit will be forgotten and users will complain about calibre being slower because of the checkpoint.
|
![]() |
![]() |
![]() |
#26 | |
Age improves with wine.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 571
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
Quote:
I would just like the option (nothing compulsory here) not to have to redo two hours work every time my mouse button bounces, even if if costs me a couple of seconds on each change. As it is, I'm compelled to always "get it right" or to create manual checkpoints after each change (which takes longer to do than an automated checkpoint and can be forgotten). But I'm starting to feel like a voice in the wilderness. Am I really the only clumsy one when it comes to running spell checks? |
|
![]() |
![]() |
![]() |
#27 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,128
Karma: 27110892
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
![]() |
#28 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,583
Karma: 29709834
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
![]() BR |
|
![]() |
![]() |
![]() |
#29 | |
Age improves with wine.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 571
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#30 |
Night Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 127
Karma: 4314
Join Date: Oct 2010
Location: Rocky Mountains (US)
Device: Sony PRS-650
|
![]() ![]() |
![]() |
![]() |
![]() |
Tags |
spellcheck, undo |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to fix "Extra Titles" in Database in " Check Library - Problems Found | millan | Library Management | 33 | 07-16-2015 07:12 AM |
How do I undo a "popup"? | curiousDave | Calibre | 7 | 08-28-2012 12:27 AM |
Select multiple items in "Check library results" window | Pepin33 | Library Management | 2 | 08-01-2012 11:10 AM |
iLiad "Undo" for iPDF / notes? & other sundry questions | X. Trapnel | iRex Developer's Corner | 4 | 06-11-2009 09:41 AM |