


XmTextSetHighlight(3X)				       XmTextSetHighlight(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmTTeexxttSSeettHHiigghhlliigghhtt - A Text function that highlights text

SYNOPSIS


  ##iinncclluuddee <<XXmm//TTeexxtt..hh>>
  vvooiidd XXmmTTeexxttSSeettHHiigghhlliigghhtt ((_w_i_d_g_e_t, _l_e_f_t, _r_i_g_h_t,	_m_o_d_e))
       WWiiddggeett	 _w_i_d_g_e_t;;
       XXmmTTeexxttPPoossiittiioonn_l_e_f_t;;
       XXmmTTeexxttPPoossiittiioonn_r_i_g_h_t;;
       XXmmHHiigghhlliigghhttMMooddee_m_o_d_e;;

DESCRIPTION
  XXmmTTeexxttSSeettHHiigghhlliigghhtt highlights	text between the two specified character
  positions.  The _m_o_d_e parameter determines the	type of	highlighting.
  Highlighting text merely changes the visual appearance of the	text; it does
  not set the selection.

  _w_i_d_g_e_t Specifies the Text widget ID

  _l_e_f_t	 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.

  _r_i_g_h_t	 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.

  _m_o_d_e	 Specifies the type of highlighting to be done.	 A value of
	 XXmmHHIIGGHHLLIIGGHHTT__NNOORRMMAALL removes highlighting.  A value of
	 XXmmHHIIGGHHLLIIGGHHTT__SSEELLEECCTTEEDD highlights the text using	reverse	video.	A
	 value of XXmmHHIIGGHHLLIIGGHHTT__SSEECCOONNDDAARRYY__SSEELLEECCTTEEDD highlights the	text using
	 underlining.

  For a	complete definition of Text and	its associated resources, see
  XXmmTTeexxtt((33XX)).

RELATED	INFORMATION
  XXmmTTeexxtt((33XX)).


















