View Single Post
Old 03-11-2016, 03:08 PM   #390
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Quote:
Originally Posted by BetterRed View Post
As far as I can tell from observation (using the Word Engine), only the selected (active) dictionaries in Word->Options->Proofing->Custom Dictionaries are being used in the actual spell checking process, which is consistent with Word's built in spell checker. Are you able to confirm this from a developers perspective?

However, in a nutshell my main concern is this:

In your implementation of the "Add Word to dictionary" feature, I would only want to see dictionaries listed that I have activated in Word->Options->Proofing->Custom Dictionaries.

IMO the best-of-breed implementation of this particular function, from a UI perspective, is the spellchecker in the calibre editor - in that it only offers 'active' custom dictionaries in it's "Add Word to dictionary" option :

Attachment 147054

Which custom dictionaries are 'active' is defined in the Calibre Editor's Preferences, much like they are in Words Options->Proofing

BR
No, the selected custom dictionary is used, both for Word and Hunspell. They do not have to be added to Word itself. In fact, I programmed it like that on purpose. I don't want to force user dictionaries to be added to Word if you only want to use them for Hunspell for example. If you want, you can add them to Word easily via the button in the settings.

The 'Add to Dictionary' will add the word only to the selected user dictionary in the dropdown box. As this is also the used user dictionary, this avoids confusion and makes the most sense as this is the custom dictionary actually used.

I do not know what the checkbox does in the Word settings for custom dictionaries, although I can guess of course. As far as I know I cannot influence that with programming nor check if a custom dictionary is checked there. There is no property to check that. I have looked into the documentation, but so far found nothing. When I retrieve the list of active custom dictionaries from Word, I get them all, checked and unchecked.
Even worse, if you add words to a custom dictionary in Word, you need to restart Word before it gets active for Word itself. Since my spelling procedure works differently, that is no need for a restart.
Toxaris is offline   Reply With Quote