spelling checker

spelling checker


processing codes Index Level Update processor (UP)
Syntax
Category Update processor
Type Definition
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 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 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.
Options
See Also speller-on words s Update processor z speller speller-off zs newac a aa aaa ACCESS Update processor (UP) Update processor
Example
Warnings The standard "words" file provided in D3 releases contains no words.

In order to use the spelling checker in a defined attribute, the attribute definition must have an attribute-type of "w" or "ww".
Compatibility D3 7.0 AP
processing codes Index Level Update processor (UP)