DXmCSTextSetHighlight(3X) — Subroutines
NAME
DXmCSTextSetHighlight − Changes the highlighting of the compound string text located between two specified logical positions.
SYNOPSIS
void DXmCSTextSetHighlight(
Widget widget,
DXmCSTextPosition left,
DXmCSTextPosition right,
XmHighlightMode mode );
PARAMETERS
widget
The identifier (widget ID) of the compound string text widget.
leftThe left boundary of the text to be highlighted.
right
The right boundary of the text to be highlighted.
mode
One of the following types of highlighting:
| Value | Description |
| XmHIGHLIGHT_NORMAL | Removes highlighting. |
| XmHIGHLIGHT_SELECTED | Uses reverse video. |
| XmHIGHLIGHT_SECONDARY_SELECTED | Uses underlining. |
DESCRIPTION
The DXmCSTextSetHighlight routine changes the highlighting of the compound string text located between two specified positions, by removing the highlighting or by implementing underlining or reverse video. This visual change in the display does not affect (set) the selections.