<!-- $XConsortium: TxtFieBB.sgm /main/8 1996/09/08 21:15:23 rws $ -->
<!-- (c) Copyright 1995 Digital Equipment Corporation. -->
<!-- (c) Copyright 1995 Hewlett-Packard Company. -->
<!-- (c) Copyright 1995 International Business Machines Corp. -->
<!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
<!-- (c) Copyright 1995 Novell, Inc. -->
<!-- (c) Copyright 1995 FUJITSU LIMITED. -->
<!-- (c) Copyright 1995 Hitachi. -->

<RefEntry Id="CDEMMA.MAN501.rsml.1">
<RefMeta>
<RefEntryTitle>XmTextFieldSetHighlight</RefEntryTitle>
<ManVolNum>library call</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Function>XmTextFieldSetHighlight</Function></RefName>
<RefPurpose>A TextField function that highlights text
<IndexTerm>
<Primary>XmTextFieldSetHighlight</Primary>
</IndexTerm><IndexTerm>
<Primary>TextField functions</Primary>
<Secondary>XmTextFieldSetHighlight</Secondary>
</IndexTerm></RefPurpose>
</RefNameDiv>
<!-- -->
<!-- @OSF_COPYRIGHT@-->
<!-- COPYRIGHT NOTICE-->
<!-- Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.-->
<!-- ALL RIGHTS RESERVED (MOTIF). See the file named COPY.MOTIF.DOC for-->
<!-- the full copyright text.-->
<!-- -->
<!-- HISTORY-->
<!-- -->
<!-- **-->
<!-- **-->
<!-- **  (c) Copyright 1989, 1990, 1992 by Open Software Foundation, Inc.-->
<!-- **      All Rights Reserved.-->
<!-- **-->
<!-- **  (c) Copyright 1987, 1988, 1989, by Hewlett-Packard Company-->
<!-- **-->
<!-- **  (c) Copyright 1987, 1988 by Digital Equipment Corporation,-->
<!-- **      Maynard, MA.  All Rights Reserved.-->
<!-- **-->
<!-- **-->
<RefSynopsisDiv>
<FuncSynopsis>
<FuncSynopsisInfo>#include &lt;Xm/TextF.h>
</FuncSynopsisInfo>
<FuncDef>void <Function>XmTextFieldSetHighlight</Function></FuncDef>
<!--<ParamDef><Replaceable>widget, left, right, mode</Replaceable></ParamDef>-->
<ParamDef>Widget <Parameter>widget</Parameter></ParamDef>
<ParamDef>XmTextPosition <Parameter>left</Parameter></ParamDef>
<ParamDef>XmTextPosition <Parameter>right</Parameter></ParamDef>
<ParamDef>XmHighlightMode <Parameter>mode</Parameter></ParamDef>
</FuncSynopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para><Function>XmTextFieldSetHighlight</Function> highlights text between the two specified
character positions. The <Symbol Role="Variable">mode</Symbol> parameter determines the type of
highlighting. Highlighting text merely changes the visual appearance of
the text; it does not set the selection.
</Para>
<VariableList>
<VarListEntry>
<Term><Symbol Role="Variable">widget</Symbol></Term>
<ListItem>
<Para>Specifies the TextField widget ID
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">left</Symbol></Term>
<ListItem>
<Para>Specifies the position of the left boundary of text to be highlighted.
This is an integer number of characters from the beginning of the text
buffer. The first character position is 0 (zero).
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">right</Symbol></Term>
<ListItem>
<Para>Specifies the position of the right boundary of text to be highlighted.
This is an integer number of characters from the beginning of the text
buffer. The first character position is 0 (zero).
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">mode</Symbol></Term>
<ListItem>
<Para>Specifies the type of highlighting to be done. A value of
<SystemItem Class="Constant">XmHIGHLIGHT_NORMAL</SystemItem> removes highlighting. A value of
<SystemItem Class="Constant">XmHIGHLIGHT_SELECTED</SystemItem> highlights the test using reverse video. A
value of <SystemItem Class="Constant">XmHIGHLIGHT_SECONDARY_SELECTED</SystemItem> highlights the text using
underlining.
</Para>
</ListItem>
</VarListEntry>
</VariableList>
<Para>For a complete definition of TextField and its associated resources, see
&cdeman.XmTextField;.
</Para>
</RefSect1>
<RefSect1>
<Title>RELATED</Title>
<Para>&cdeman.XmTextField;.
</Para>
</RefSect1>
</RefEntry>
<!--fickle 1.09 7/2/95-->
