DXmCSTextSetHighlight(3X)
NAME
DXmCSTextSetHighlight − Changes the highlighting of the compound string text located between two specified logical positions.
SYNOPSIS
void DXmCSTextSetHighlight(widget, left, right, mode)
Widget widget;
DXmCSTextPosition left;
DXmCSTextPosition right;
XmHighlightMode mode;
PARAMETERS
The identifier (widget ID) of the compound string text widget. The left boundary of the text to be highlighted. The right boundary of the text to be highlighted. 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.