Spell-checking in OCHRE
By Sandra Schloen, February 2021
While editing text fields in OCHRE, users can trigger the spell-check feature by:
Using the Check spelling option on the Edit menu
Using the right-click, Check spelling option while editing a text field
Using Ctrl-L (or equivalent) while editing a text field
The pop-up Check Spelling dialog will provide a typical set of options, including ignoring the presumed spelling error, or changing it based on a suggestion.
Changes applied by the spell-check pop-up will be applied, retaining any formatting. Changes will be saved in the usual way (i.e., when the user navigates away from the text field).
Canceling the spell-check pop-up has no effect on the text field.
If there are no spelling errors detected, or if spell-checking was requested in a field for which it is not applicable, OCHRE will simply beep.
Spell-check Lexicon(s)
Currently, OCHRE is supporting only English-language spell-checking, but the user has the choice of American (default), Canadian, or British spellings by changing the Spell-check options language pick-list on the Project>Preferences pane. The implication of this is that the spell-check feature is only available on English-language tabs (that is, spell-checking is not available on any additional language-tabs). If the default language of the project is English, then spell-checking is enabled on any Aliases.
In addition, each User will have a User lexicon, saved to their own computer, to which they can add their own commonly-used words using the Add option. the Check Spelling dialog shows where this lexicon is located in the Add words to field. OCHRE will create this lexicon automatically, but it is up to the user to back it up (if desired), or to copy it to the same location on another computer (if desired).
Spelling Preferences
There are a variety of spell-check options that the user can customize, by choosing the Spelling preferences option from OCHRE's Edit menu or from the Project > Preferences.
Note that these options are not saved (with either the Project or the User) but they will remain in effect for the current session.