Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 10-16-2015, 10:30 AM   #1
Phssthpok
Age improves with wine.
Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.
 
Posts: 558
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
Undo in "Check Spelling" tool?

Is there a way to undo changes using the Check Spelling dialog? Sometimes I accidentally press "Change selected word to:" and it changes the currently-selected word to the first suggestion in the list. If I'm not paying enough attention and don't see what the first suggestion was (or if the suggestion was a common word that occurs many times anyway), the only way I know of to recover from this is to quit the editor without saving, thereby losing all my other unsaved changes together with the erroneous spelling correction.

Surely there must be a better way to recover when this happens? What am I missing this time?
Phssthpok is offline   Reply With Quote
Old 10-16-2015, 10:36 AM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Don't global changes always create a checkpoint?
eschwartz is offline   Reply With Quote
Advert
Old 10-16-2015, 10:51 AM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,807
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Phssthpok View Post
Is there a way to undo changes using the Check Spelling dialog? Sometimes I accidentally press "Change selected word to:" and it changes the currently-selected word to the first suggestion in the list. If I'm not paying enough attention and don't see what the first suggestion was (or if the suggestion was a common word that occurs many times anyway), the only way I know of to recover from this is to quit the editor without saving, thereby losing all my other unsaved changes together with the erroneous spelling correction.

Surely there must be a better way to recover when this happens? What am I missing this time?
For a Single (replace selected word), the Undo button will revert:
IF The target section (Tab) has focus.
To locate the misspelled word occurrence, Double-click the word in the right-side list Great way to context check

What it does or how to find where it WAS after the fact is a different story.
theducks is offline   Reply With Quote
Old 10-16-2015, 11:47 AM   #4
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
Posts: 482
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
Quote:
Originally Posted by Phssthpok View Post
Surely there must be a better way to recover when this happens? What am I missing this time?
If it is one word that you can't hit undo because it affects multiple files, and if you've seen what it corrected to, you can uncheck the box that says 'Show only misspelled words', then browse to the word and fix it from there. Then re-check the box and keep going.

Quote:
Originally Posted by eschwartz View Post
Don't global changes always create a checkpoint?
In my experience (maybe I did something wrong, or it's changed since then), revert brings me to before the last global change BEFORE I started spellcheck, but all changes made in spellcheck stay changed. Not helpful at all and causes much confusion.
MerlinMama is offline   Reply With Quote
Old 10-16-2015, 11:49 AM   #5
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by MerlinMama View Post
In my experience (maybe I did something wrong, or it's changed since then), revert brings me to before the last global change BEFORE I started spellcheck, but all changes made in spellcheck stay changed. Not helpful at all and causes much confusion.
Well, then, obviously this particular global change does not create a checkpoint first.
I would consider that to be a bug.
eschwartz is offline   Reply With Quote
Advert
Old 10-16-2015, 11:54 AM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You are welcome to create a checkpoint manually before you start a spellcheck. Although, IMO, that would be fairly useless, since what you want is not to undo all changed words, just one or two (which is why no automatic global checkpoint is created).
kovidgoyal is offline   Reply With Quote
Old 10-16-2015, 12:03 PM   #7
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
I think it's reasonable to auto-create a checkpoint.

Spellcheck can be totally reverted then redone more carefully. It seems to be the most advantageous reaction to mistaken changes. (Short of creating a checkpoint before each change).
Better than losing all the work before you started spellcheck.



Please reconsider.
eschwartz is offline   Reply With Quote
Old 10-16-2015, 12:10 PM   #8
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I really dont see the need, say you are doing a spell check and you mistakenly replace the word xxx with yyy. All that means is you stop the spell check, run a search and replace for yyy, and replace all matches either one-by-one or automatically, depending.

There seems to be no need to lose all the previous correct spelling changes, just to undo a single bad change.
kovidgoyal is offline   Reply With Quote
Old 10-16-2015, 01:37 PM   #9
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Because doing the opposite replacement is not the same as undoing a replacement.
What happens if you already have valid uses of the replaced-by word?
That will very likely be the case -- and your proposed "go through it one by one" is slow. It would probably be faster to redo all the correct spelling fixes (they are usually less ambiguous and possibly less numerous too).



I'd rather undo all correct spelling changes, to get into a known good (or at least better than when I first started out) state, then redo all the spelling fixes. It really does seem to me to be the safest route.
eschwartz is offline   Reply With Quote
Old 10-16-2015, 09:27 PM   #10
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
Posts: 482
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
Quote:
Originally Posted by kovidgoyal View Post
I really dont see the need, say you are doing a spell check and you mistakenly replace the word xxx with yyy. All that means is you stop the spell check, run a search and replace for yyy, and replace all matches either one-by-one or automatically, depending.

There seems to be no need to lose all the previous correct spelling changes, just to undo a single bad change.
I have occasionally accidentally double-clicked on the 'correct' button. It went by quick and I didn't get a chance to see what word I was 'correcting' with that second click. In that case, all I know is it was after the intended corrected word, and before the next word in the list, but that still leaves it wide open.

Another example (less likely but I've done it ). I skip four or five words because I need to check something, but the following several words I know need to be corrected. They are words I know that the first suggestion is the correct one I want, so I hit correct the amount of times. Only then do I notice that after the first correct, the word to change went UP rather than DOWN, so I was actually correcting the words I skipped. Yes, this is a lack of attention, but it CAN happen. So, I need to lose all that I've already done, and start over.

Just to laugh (now that it’s over) I once had a book that had reproduced Scottish brogue so it showed up over 700 'errors'. Mixed in there liberally were real mistakes. When I was about 80% done, I got distracted and corrected things that should have been ignored, and ignored things that have been corrected. I had to START OVER!!!
MerlinMama is offline   Reply With Quote
Old 10-16-2015, 11:21 PM   #11
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Sorry, I am not convinced. And as I said, if you prefer to undo everything, you can create a checkpoint manually before starting the spell check.
kovidgoyal is offline   Reply With Quote
Old 10-18-2015, 05:01 AM   #12
Phssthpok
Age improves with wine.
Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.
 
Posts: 558
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
Quote:
Originally Posted by kovidgoyal View Post
I really dont see the need, say you are doing a spell check and you mistakenly replace the word xxx with yyy. All that means is you stop the spell check, run a search and replace for yyy, and replace all matches either one-by-one or automatically, depending.

There seems to be no need to lose all the previous correct spelling changes, just to undo a single bad change.
In the case that prompted me to ask this question, the word was "ith" (should have been "with", but the "w" was consistently missing) and it autocorrected to "it". Not an easy one to reverse -- "it" is a much more common word than "yyy"!
Phssthpok is offline   Reply With Quote
Old 10-18-2015, 05:04 AM   #13
Phssthpok
Age improves with wine.
Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.
 
Posts: 558
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
Quote:
Originally Posted by kovidgoyal View Post
Sorry, I am not convinced. And as I said, if you prefer to undo everything, you can create a checkpoint manually before starting the spell check.
However, if I make a mistake after correcting 100+ errors, I have to roll back and then redo the 100+ corrections.

I could hit "save" after every correction, but why not provide an undo snapshot in the same way as for "replace all", rather than putting the burden on the user to be perfect all the time?
Phssthpok is offline   Reply With Quote
Old 10-18-2015, 06:08 AM   #14
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by Phssthpok View Post
I could hit "save" after every correction, but why not provide an undo snapshot in the same way as for "replace all", rather than putting the burden on the user to be perfect all the time?
Because nothing in life is free. Creating checkpoints after ever replace would add a huge performance cost.
kovidgoyal is offline   Reply With Quote
Old 10-18-2015, 06:31 AM   #15
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
Posts: 482
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
Quote:
Originally Posted by kovidgoyal View Post
Because nothing in life is free. Creating checkpoints after ever replace would add a huge performance cost.
I see a compromise, but that is from my viewpoint, it might not be in terms of implementation.

When SpellCheck is launched, it automatically creates a checkpoint, for those who might not know to do so, and for those others who might simply forget or think they did but got distracted.

And/Or

In SpellCheck, have a 'create checkpoint' button. It will be there in SpellCheck where attention is, and might give everyone a 'fighting chance'.
MerlinMama is offline   Reply With Quote
Reply

Tags
spellcheck, undo


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 05:02 PM.


MobileRead.com is a privately owned, operated and funded community.