Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

DXmCSTextSetHighlight(3X)  —  Subroutines

Digital

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;

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. 

Arguments

widgetThe identifier (widget ID) of the compound string text widget. 

leftThe left boundary of the text to be highlighted. 

rightThe right boundary of the text to be highlighted. 

modeOne of the following types of highlighting:

Value Description
XmHIGHLIGHT_NORMAL Removes highlighting
XmHIGHLIGHT_SELECTED Uses reverse video
XmHIGHLIGHT_SECONDARY_SELECTED Uses underlining

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026