|Command||tcl.spelling.checker Definition/Update Processor
Applicable release versions: AP
|Category||Update Processor (113)|
|Description||provides an optional spelling checker facility to verify the spelling of text as it is entered.
During text entry using the Update processor, the spelling checker looks at each character to see if those typed so far make a legal word or may become a legal word. In releases of AP prior to 6.1.0, when an "illegal" word is encountered, the spelling checker beeps, stops entry and positions the cursor back one position, over the "illegal" character. At this point, a number of options are available:
1) The correct letter can be typed, assuming it was wrong.
2) "<ctrl>+a" accepts the word as shown.
3) "<ctrl>+a<ctrl>+a" accepts word and adds it to the "words" file,=.
4) "<ctrl>+a<ctrl>+a<ctrl>+a" disables the spelling checker.
5) "<ctrl>+f" views the next "legal" word in the "words" file.
6) "<ctrl>+d" views the previous "legal" word in the "words" file.
In AP releases 6.1.0 and higher, the spelling checker simply beeps to indicate the word was not found and does not interrupt the entry process.
The words used by the spelling checker are kept in the "dm,words," file.
The spelling checker uses the "speller", "speller-off", and "speller-on" verbs for checking or changing its current state. A "q-pointer" must be present in the current account md to the "dm,words," file and an index must be present on attribute 0 of the "dm,words," file. This q-pointer is usually provided to each new account automatically and can be found in the "dm,newac," file.