Spell Command [SP]
Checks the spelling of the words in the rangelist. This command will only work if you have the dictionary of the Spell (Bonus) program installed on your system.
SPELL [ rangelist ]
(Default: rangelist = *)
Qedit prints the lines that contain misspellings and highlights the words that are misspelled. Use Spellj to modify each line that contains a misspelling, with the style of line modify defined by Set Modify.
Examples
/spell {check current line} /spell @ {check current file} /spell 10/20 {check lines 10/20} /spell "xxx" {check lines with "xxx"} /spell ".inx"(1/4) {check lines with ".inx"} {in the first 4 columns} /spellj 1/10 {check and modify lines 1/10}
User Dictionary
If you have some words that you frequently use that are not in the main dictionaries, you can put them into a local user dictionary. You can have up to 2500 words in this dictionary. Just create a file called SPUSER in your logon group. This file can be a Qedit file or a Keep file. Add your words, one word per line. The words do not have to be sorted, although a sorted list may be easier to manage.
Spell reads in the words from the SPUSER user dictionary the first time you use the Spell command, then no longer refers to SPUSER. If you then add or delete words from the SPUSER dictionary, you must tell Spell to re-read the words the next time it spell-checks a word:
/set spell stop
Main and Auxiliary Dictionaries
The spelling checker’s dictionaries must be installed before this command can work. If you get a message saying “file system error opening main dictionary” (or aux dictionary), it means that the main or auxiliary dictionaries have not been installed correctly, or are not accessible. The two Spell dictionary files are:
Main.Spdata.Robelle | {must be present} |
Aux.Spdata.Robelle | {optional} |
See the chapter “Installing Qedit” for detailed instructions about installing the dictionaries.
Notes
See Set Spell for information on configuring Spell. Use the Words command to check the spelling of a specific word.
If your UDC or command file for running the spell checker program is also called “Spell”, you have either to change the name of the UDC, or to use :Spell to access it.
/:spell file {we suggest Spellf instead}
Currently, the spell checker can only verify the first 1,000 characters of a line. It does not break the line on a word boundary. If character 1,000 is the middle of a word, Spell checks only the first few characters and likely return a spelling error.
If Spell has to truncate a line, it displays a warning:
/spell Warning: Only first 1000 of 7993 characters will be spell-checked.