Add markup using Expression Editor

The expression editor provides help in creating and editing expressions. It is accessed from a number of other dialogs, such as the Span Editor and the Dictionary Editor. It is accessed by clicking the Edit button to the right of a text edit field.
The Expression Editor allows you to enter any Contract Express Mark-up Language expression and uses Auto-suggestions in expression editor to assist you in the creation of those expressions. When you start typing into the Expression Editor the code completion will display functions and variables in a code completion drop-down. In the example below the user types G and all the functions and variables starting with G are displayed:
Hitting return will select GoverningLaw. As the Expression Editor knows this is a Text Selection variable it will suggest the operators that are applicable to Text Selection variables:
Selecting an operator will then present the user with the text selections for this particular variable:
Clicking OK will return the Expression back into the Span Editor dialog. Note that the Expression Editor is available throughout the Dictionary Editor wherever you see the Edit button.