Please enable JavaScript to view this site.

ESL Documentation

The make segment and make block action statements allow you to assign colors to individual characters of existing text in a colored textual region. For text that is to be read into the colored textual region from an ASCII text file during runtime, you can use the CText module to assign colors to the individual characters. Note that attempts to color individual characters in an uncolored textual region will be ignored, and an error message will be produced.

 

The color specifications in the make segment and make block action statements are applied to the colored textual region on a character-by-character basis. You can color just one character, or one group of characters, or several groups of characters. Characters not colored with this statement will be displayed in the background and foreground colors specified in the definition of the colored textual region.

 

Note that if you change the foreground or background color of the entire colored textual region with the make COLOR action statement, all text will inherit the new foreground color, even those characters that had been individually colored with the make segment or make block statements. Likewise, all such text will inherit the newly specified background color.