Spell

Set Spell [ option value ]…

(Default: <null>)

Set Spell determines how words and lines are spell-checked. The options that you can set are Exclude, Hyphen, Only, and Stop. For example, we use the following options when we spell-check the Robelle manuals:

  /set spell hyphen "\" exclude ".+"  

Set Spell Exclude “string

(Default: <null>)

Set Spell Exclude does not spell-check lines that begin with any of the characters in the string. This is the opposite of the Only option. Use the Exclude option to skip lines in a file that contain commands instead of text. For example, in our Prose text formatter, command lines begin with a “.” and continuation command lines begin with a “+”. They do not need to be spell-checked.

  /set spell exclude ".+"  

To reset Exclude to <null> (i.e. check all lines), use

  /set spell exclude ""  

Set Spell Hyphen “char

(Default: <null>)

Treats char as a hyphenation character. By default, all punctuation characters are word delimiters. The hyphenation character does not delimit words, nor is it part of a word. For example, if “\” is the hyphenation character, then “hyphen\ation” is treated as the one word “hyphenation“.

  /set spell hyphen "\"  

To reset the hyphen to <null> (i.e., no hyphenation character), use

  /set spell hyphen ""  

Set Spell Only “string

(Default: <null>)

Set Spell Only will only spell-check lines that begin with any of the characters in the string. This is the opposite of the Exclude option. Use the Only option to spell-check specially formatted files that prefix each line with a special character. For example, if a file prefixes text lines with the letter “T”, you can spell-check only the lines that begin with “T” or “t” with

  /set spell only "tT"  

To reset Only to <null> (i.e., check all lines), use

  /set spell only ""  

Set Spell Stop

Immediately releases the spelling dictionaries. The most common reason for using this option is to have Spell recognize the changes that you have made to your SPUSER user dictionary. See the Spell command for more information about the SPUSER user dictionary. Another reason to use this option is to release the main and auxiliary dictionaries so that they can be updated.

  /words "Robertsmith"     {someone's name}  not found : Robertsmith  /open spuser  /add ]  100       Robertsmith  //  /shut  /words "Robertsmith"  not found : Robertsmith  /set spell stop  /words "Robertsmith"  found     : Robertsmith  

Spell