TTMSFNCMemoCustomLanguageBracket Class
Defines a matching bracket pair (open and close strings) and the token classification used for syntax highlighting.
API unit family: TMSFNCMemoCustomLanguage
Inherits from: TCollectionItem
Syntax
TTMSFNCMemoCustomLanguageBracket = class(TCollectionItem)
Properties
| Name | Description |
|---|---|
| Close | The closing character or string of the bracket pair (e.g. }, ], )). |
| Open | The opening character or string of the bracket pair (e.g. {, [, (). |
| Token | The token classification associated with this bracket type, used for color-matching bracket pairs. |
Methods
| Name | Description |
|---|---|
| AsJSObject | Serialises the bracket pair as a Monaco-compatible JavaScript array element. |