The Context Dialog

The Define New/Edit Context Dialog lets you define the boundaries of a Context. A Context is a mechanism for identifying portions of a document that should be specially handled such as a string literal or comment.

A Context is defined as a Start Pattern and an optional End Pattern. Patterns must be valid Regular Expressions. The End Pattern may be omitted if Ends at EOL is checked. Set the Escape Character if the context has a special character (such as a backslash) to prevent premature matching of the End Pattern or EOL.

The text that matches the Start Pattern is not considered part of the matched context; only the text following it (and including the text matching the End Pattern).

See the Default Context Guidelines for an explanation of the Context Guideline fields on this dialog.