Fragment Editor

Splitter Splitter List Save As Close Help Insert

Currently we are significantly expanding the fragments collection. You can also define your own fragments with the fragment editor. A fragment looks like a piece of code, but the variables are replaced by markers with parameter specification that looks like:

 {Type:Name:DefaultValue}. Name and DefaultValue are optional.

These markers can easily created by double-clicking on the appropriate one in the list box on the right. Most common is using {VARIABLE} or {VARIABLE:NAMED}. Other markers like {AUTHOR} or {DATE} obtain their values from either the Settings or a built-in function.

Position markers like and can be used to distribute code in one fragment over different parts in a procedure: as part of the declaration section, at the end of a procedure (close actions). is used to indicate where the cursor is to be after the fragment has been inserted.

Start this dialog from Fragment Builder , [New] button.

Controls:


Splitter

Resize  fragment content area.

List

Available markers in the list box on the right. These markers can easily be used by double-clicking on them. Most common is using {VARIABLE} or {VARIABLE:NAMED}. Other markers like {AUTHOR} or {DATE} obtain their values from either the Settings or a built-in function.

Save As

Opens dialog to specify in which subfolder the fragment is to be placed

Close

Closes the builder without creating the fragment.

Help

Starts this Help topic

Insert

Adds selected marker to fragment content