2
...\" TxtSetHi.sgm /main/8 1996/09/08 21:19:39 rws $
10
.fl \" force out current output buffer
11
\!!save /psv exch def currentpoint translate 0 0 moveto
14
.sy sed -e 's/^/!/' \\$1\" bring in postscript file
18
.ie \\*(f1 .ds f1 \\n(.f
19
.el .ie \\*(f2 .ds f2 \\n(.f
20
.el .ie \\*(f3 .ds f3 \\n(.f
21
.el .ie \\*(f4 .ds f4 \\n(.f
22
.el .tm ? font overflow
42
.el .tm ? font underflow
48
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n
49
.TH "XmTextSetHighlight" "library call"
51
\fBXmTextSetHighlight\fP \(em A Text function that highlights text
52
.iX "XmTextSetHighlight"
53
.iX "Text functions" "XmTextSetHighlight"
57
#include <Xm/Text\&.h>
58
\fBvoid \fBXmTextSetHighlight\fP\fR(
59
\fBWidget \fBwidget\fR\fR,
60
\fBXmTextPosition \fBleft\fR\fR,
61
\fBXmTextPosition \fBright\fR\fR,
62
\fBXmHighlightMode \fBmode\fR\fR);
66
\fBXmTextSetHighlight\fP highlights text between the two specified
67
character positions\&. The \fImode\fP parameter determines the type of
68
highlighting\&. Highlighting text merely changes the visual appearance of
69
the text; it does not set the selection\&.
71
Specifies the Text widget ID
73
Specifies the position of the left boundary of text to be highlighted\&.
74
This is an integer number of characters from the beginning of the text
75
buffer\&. The first character position is 0 (zero)\&.
77
Specifies the position of the right boundary of text to be highlighted\&.
78
This is an integer number of characters from the beginning of the text
79
buffer\&. The first character position is 0 (zero)\&.
81
Specifies the type of highlighting to be done\&. A value of
82
\fBXmHIGHLIGHT_NORMAL\fP removes highlighting\&. A value of
83
\fBXmHIGHLIGHT_SELECTED\fP highlights the text using reverse video\&. A
84
value of \fBXmHIGHLIGHT_SECONDARY_SELECTED\fP highlights the text using
87
For a complete definition of Text and its associated resources, see
92
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:36