Previous Topic: Overriding an Inherited Entry-Level Attachment

Next Topic: Command Syntax

Merger Commands for Device User Source

Device user source consists of DDS (or other device language) source statements and special merger commands specifying how to update the automatically generated source for the device design.

Each time a property of a device design is generated a special program, Device User Source Merger (the merger), is invoked to merge any device user source attached to the property. The merger interprets all encountered commands and updates the original generated source according to the requested actions.

Merger commands provide basic features available in classic line-editing word processors. The main concept of such tools is the current line a floating anchor around which the original text is updated. Two types of merger commands are required to complete similar tasks within a device user source function: one to position to the line in the source and another to edit the line.

Several device user source functions can be attached to a device property. When the first one is applied, the current line is the first line in the generated extent (default). As a result of the positioning instructions coded in the device user function, the location of the current line is changed. For subsequent device user source functions, the current line is not reset back to the beginning of the extent. This lets you separate positioning commands from editing commands in different device functions. Such granulation of a requested action makes each device function less specific and increase its reusability and efficiency.

The available merger commands are:

no operation

OVERLAY

(Table Text Center)REPLACE

* or #

PAINT

(Table Text Center)SCAN

FIND

POSITION

(Table Text Center)SKIP

INSERT

QUIT

(Table Text Center)UPDATE

MARK

 

(Table Text Center)