Please enable JavaScript to view this site.

ESL Documentation

The make segment action statement specifies a segment the same way a segment is specified in other statements. (See Defining Text Segments and Text Blocks.)  For example, if the statement reads:

 

response to ...

    make Region_1 segment column 1 line 1

        thru column 5 line 3

            foreground red

 

and Region_1 contained the following text, the portion that would be the foreground color red is highlighted below:

 

_img99

 

To color two or more text segments in the same colored textual region, you must write a series of make segment statements, such as:

 

response to ...

    make Region_6 segment column 1 line 1

        thru column 40 line 1 red

    make Region_6 segment column 1 line 5

        foreground color 5 color 24

    make Region_6 segment column 1 line 8

        thru column 40 line 10 blue