next up previous contents index
Next: remove_colors Up: Colors Previous: Colors

color_area

  void color_area(int start, int end, char *colorname)

Colors text region from position start to position end with color colorname (see the standard X11 file rgb.txt). This function can be used with the Smac regexp interface to color strings of your own modes (see color.sc §5.11 page gif).



Lionel Fournigault
Fri Nov 6 17:00:30 MET 1998