1XmTextSetHighlight(library call)              XmTextSetHighlight(library call)
2
3
4

NAME

6       XmTextSetHighlight — A Text function that highlights text
7

SYNOPSIS

9       #include <Xm/Text.h>
10       void XmTextSetHighlight(
11       Widget widget,
12       XmTextPosition left,
13       XmTextPosition right,
14       XmHighlightMode mode);
15

DESCRIPTION

17       XmTextSetHighlight  highlights text between the two specified character
18       positions. The mode parameter  determines  the  type  of  highlighting.
19       Highlighting  text merely changes the visual appearance of the text; it
20       does not set the selection.
21
22       widget    Specifies the Text widget ID
23
24       left      Specifies the position of the left boundary  of  text  to  be
25                 highlighted.   This  is  an integer number of characters from
26                 the beginning of the text buffer. The first  character  posi‐
27                 tion is 0 (zero).
28
29       right     Specifies  the  position  of the right boundary of text to be
30                 highlighted.  This is an integer number  of  characters  from
31                 the  beginning  of the text buffer. The first character posi‐
32                 tion is 0 (zero).
33
34       mode      Specifies the type of highlighting to be  done.  A  value  of
35                 XmHIGHLIGHT_NORMAL  removes  highlighting. A value of XmHIGH‐
36                 LIGHT_SELECTED highlights the text  using  reverse  video.  A
37                 value  of  XmHIGHLIGHT_SECONDARY_SELECTED highlights the text
38                 using underlining.
39
40       For a complete definition of Text and  its  associated  resources,  see
41       XmText(3).
42
44       XmText(3).
45
46
47
48                                              XmTextSetHighlight(library call)
Impressum