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.
Insert span dialog box
Expression editor window
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:
Expression editor window adding functions starting with G
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:
Expression editor suggesting operators applicable to text selection variables
Selecting an operator will then present the user with the text selections for this particular variable:
Expression editor suggesting text selections after operator is added.
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.