PWB Extensions Help (ext.hlp) (Table of Contents; Topic list)
SetHiLite
                                             Up Contents Index Back
─────PWB Extensions─────────────────────────────────────────────────────────
 
  Syntax: void SetHiLite( PFILE pfFile, rn range, int color );
 
  See:    AddAColor, GetColor, PutColor, SetColor
          Using Colors in Extensions
 
     SetHiLite specifies a range of text to be highlighted. The color
     used for highlighting is applied the next time the screen is
     updated. The highlighting disappears the next time a non-cursor-
     movement function is used.
 
     The area to be highlighted is given by <range>, and the file by
     <pfFile>. Note that the range is processed as a block, not a
     stream. If you want to color a stream, you must use SetHiLite on
     the first line, the center lines, and the last lines separately.
     See: rn Type
 
     The <color> is a predefined color constant or a color index
     returned by AddAColor.
     See: Color Constants
                                    -♦-