TXTextControl.CommentHighlightMode Property

This property returns or sets a value determining how commented text is highlighted in the document. Commented text can be highlighted always, never or only when the commented text contains the current text input position.

Introduced: 30.0.

Syntax

TXTextControl.CommentHighlightMode [= Mode]

Constants

The following lists the possible property values:

Constant Description
1 - txNever

Commented text is not highlighted.

2 - txActivated

Default value. A commented text is only highlighted when it contains the current text input position.

3 - txAlways

Commented text is always highlighted.

Data Types

Integer.

Limitations

Run time only.

See Also