Please enable JavaScript to view this site.

ESL Documentation

You can overwrite text with a specified text block, using the overwrite block syntax. For example, suppose the source textual region, OldTxt, contains:

 

_img91

 

and the destination textual region, NewTxt, contains the following text, with the text cursor at column 1 line 1 as shown:

 

_img92

 

When the following response statement is executed:

 

response to ...

    add to NewTxt

        overwrite block column 1 line 1

            thru column 7 line 4 from OldTxt

 

NewTxt displays the following:

 

_img93

 

(The carets shown in the illustrations are not actually displayed.)

 

Note that this statement does not move the text cursor.

 

Like segments, when a block from a colored textual region overwrites other colored text, the block's color attributes are preserved.