The WORD line command will insert a WORD line display into the edit file. This line will contain the current list of characters which are considered valid Word characters when SPFLite is searching for strings with a FIND, CHANGE or similar command, and a WORD, PREFIX or SUFFIX search option is used. The characters are used to determine the boundaries of these strings, as follows:
Some languages extend the allowable characters which make up a 'word' to include special characters such as '_' (underscore). The WORD support allows you to customize the set of characters that are considered as valid characters to better support such languages.
For example, if you are editing a "C" program file which allows underscores in names, the underscore is a letter-like character and not a delimiter. To successfully find "C" words in such files, you would add the underscore to the list of characters in the WORD line. Likewise, many IBM mainframe languages use $ # and @ as letter characters.
Since this set of valid word characters will vary by language, SPFLite retains the WORD setting by file type in the PROFILE. It automatically selects and uses the WORD characters (whether the standard ones, or as modified by you) each time you edit a file of that type.
To display the word delimiters (=WORD>) line:
The delimiter line looks like this:
You may also enter the primary command PROFILE with no operands. One of the Profile lines displayed will be the =WORD> line.
To remove the WORD line from the panel:
A note about using TF/TFF and TM/TMM to format text
The Text Flow command TF/TFF and the Text Margin command TM/TMM use a simplified definition of "words". For formatting purposes, a "word" is any string delimited by blanks or by the beginning or end of a line. It is not necessary to change the definition of the WORD string for these commands to work correctly.
Created with the Personal Edition of HelpNDoc: Create iPhone web-based documentation