HILITE - Control Text Highlighting Options

Syntax


HILITE

{

[ ON | OFF ]

[ AUTO ]  [ FIND ]

}


Operands


ON

Turn on the specified AUTO and/or FIND options.  If only ON is specified it will be treated as ON AUTO FIND.


OFF

Turn off the specified AUTO and/or FIND options.  If only OFF is specified it will be treated as OFF AUTO FIND.


AUTO

If specified with an ON/OFF operand, then the AUTO option is set accordingly.  If specified without an ON/OFF operand, it is treated as ON AUTO.   The AUTO option specifies whether the edit text should be colorized based on  the contents of the .AUTO colorize control file. See "Colorize Files" for full details of colorize support.


FIND

If specified with an ON/OFF operand, then the FIND option is set accordingly.  If specified without an ON/OFF operand, it is treated as ON FIND.   The FIND option specifies whether the result of a FIND or CHANGE command should be highlighted on the edit screen when found/changed.


Description


The HILITE command controls the setting of two SPFLite Profile options.


AUTO        The AUTO setting controls whether colorization support for the file type should be activated.  This support, even with AUTO ON, still requires a colorize control file to properly activate. See Automatic Colorization Files for full details of colorization support.


FIND        The FIND setting controls whether the result of FIND / CHANGE commands should be hi lighted in the text or whether simply moving the cursor to the location is sufficient.


The value is stored as part of the PROFILE options which are maintained individually by file type.


Note that all HILITE keywords are optional, but at least one must be chosen; HILITE by itself is not a valid command.


Be aware that the colors controlled by the HILITE command and by automatic colorization have nothing to do with "highlighting pens".  These are completely different features.  See Working with Virtual Highlighting Pens for more information.


Created with the Personal Edition of HelpNDoc: Free EPub and documentation generator