You can overwrite text with a specified text block, using the overwrite block syntax. For example, suppose the source textual region, OldTxt, contains:
and the destination textual region, NewTxt, contains the following text, with the text cursor at column 1 line 1 as shown:
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:
(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.