XmTextFieldSetHighlight(3X)XmTextFieldSetHighlight(3X)NAME
XmTextFieldSetHighlight - A TextField function that highlights text
SYNOPSIS
#include <Xm/TextF.h>
void XmTextFieldSetHighlight (widget, left, right, mode)
Widget widget;
XmTextPosition left;
XmTextPosition right;
XmHighlightMode mode;
DESCRIPTION
XmTextFieldSetHighlight highlights text between the two specified character positions. The mode parameter determines the type of high-
lighting. Highlighting text merely changes the visual appearance of the text; it does not set the selection. Specifies the TextField wid-
get ID 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. 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. Specifies the type of highlighting
to be done. A value of XmHIGHLIGHT_NORMAL removes highlighting. A value of XmHIGHLIGHT_SELECTED highlights the test using reverse video.
A value of XmHIGHLIGHT_SECONDARY_SELECTED highlights the text using underlining.
For a complete definition of TextField and its associated resources, see XmTextField(3X).
SEE ALSO XmTextField(3X)XmTextFieldSetHighlight(3X)
Check Out this Related Man Page
XmTextFieldSetHighlight(library call) XmTextFieldSetHighlight(library call)
NAME
XmTextFieldSetHighlight -- A TextField function that highlights text
SYNOPSIS
#include <Xm/TextF.h>
void XmTextFieldSetHighlight(
Widget widget,
XmTextPosition left,
XmTextPosition right,
XmHighlightMode mode);
DESCRIPTION
XmTextFieldSetHighlight highlights text between the two specified character positions. The mode parameter determines the type of highlight-
ing. Highlighting text merely changes the visual appearance of the text; it does not set the selection.
widget Specifies the TextField widget ID
left Specifies the position of the left boundary of text to be highlighted. This is an integer number of characters from the begin-
ning of the text buffer. The first character position is 0 (zero).
right Specifies the position of the right boundary of text to be highlighted. This is an integer number of characters from the begin-
ning of the text buffer. The first character position is 0 (zero).
mode Specifies the type of highlighting to be done. A value of XmHIGHLIGHT_NORMAL removes highlighting. A value of XmHIGH-
LIGHT_SELECTED highlights the test using reverse video. A value of XmHIGHLIGHT_SECONDARY_SELECTED highlights the text using
underlining.
For a complete definition of TextField and its associated resources, see XmTextField(3).
RELATED XmTextField(3).
XmTextFieldSetHighlight(library call)
Hi,
I need a script to read the n° character from a text file.
eg: if the text file contains the line "123456" ,I nedd a command to display the number 4, as an example.
I tried with awk and printf but it seems only works with words separated with spaces, but in this case I have only one word... (15 Replies)
Dear Friends,
I am facing a problem while selecting the test that is between start and end tags.
i have a file contains,
--------------
<abc> some text some text
some text some text
some text some text
some text some text
some text </abc>
===blank line======
<abc> some text some text... (7 Replies)
Hi,
Can anyone tell me..how to highlight a particular part of ur output text in shell programming..say,if all the o/p is against black bground,i need some text to be against white bground..
eg..You can see some text highlighted in man pages .Right??
But how ll you do that.
Thanx (6 Replies)
Hi all,
I have the following lines
<b>A gtwrhwrthwr text hghthwrhtwrtw </b><font color='#06C'>; text text (text)
<b>B gtwrhwrthwr text hghthwrhtwrtw </b><font color='#06C'>; text text (text)
<b>J gtwrhwrthwr text hghthwrhtwrtw </b><font color='#06C'>; text text (text)
and I would like to... (5 Replies)
hello all
i request you to give the solution for the following problem..
I want read the text file.and print the contents character by character..like if the text file contains google means..i want to print
g
go
goo
goog
googl
google
like this Using unix Shell scripting...
... (7 Replies)
Hi,
I got a line of text which has spaces in between and it is a long stream of characters. I want to extract the text from certain position. Below is the line and I want to take out 3 characters from 86 to 88 character position. In this line space is also a character. However when using cut... (5 Replies)
I have high values (such as ÿÿÿÿ) in a text file contained in an Unix AIX server. I need to identify all the records
which are having these high values and also get the position/column number in the record structure if possible. Is there
any Unix command by which this can be done to :
1.... (5 Replies)
Hi everyone,
how can I get the highlighted text only?
I am only concerned with the first line of the "AUTHORITY SECTION" (in red).
thank you in advance (4 Replies)
there is a text file like this
text here
text here
text here
text here
USER=someusername here
text here
text here
text here
how can i extract the someusername from this file which has a path like /home/myfile.txt?
i want to store it in a variable $u (3 Replies)
Greetings.
I need to extract text between two character positions, e.g: all text between character 4921 and 6534.
The text blocks are FASTA-format sequence of whole chromosomes, so basically a million A, T, G, C, combinations. E.g:
>Chr_1
ACCTGTTCAACTCTCAGGACTCTCAGGTCAACTCTCAG... (3 Replies)
Hello all,
how to get the most 30 frequent words in text and the most frequent trigraphs (three character in same order in text )?
note that : the text is none English text (Arabic text)
so I will get the result as
top 30 words
abdbdns
asddd
wqwfqw
top 30 trigraphs
abc... (3 Replies)
Hi,
I was looking for a simple code to suppress the text between 2 characters. the characters can be of same kind like "*" or "(" and ")". The number of characters are not consistent and could vary.
How can I suppress the text between 2 characters?
Example:
Input : Hello (Within Bracket)... (8 Replies)
Hi I have a text file with lines beginning with 71303, 71403, 71602,
I need to copy the 10 digit text at position 30 on lines beginning with 71303 (5500011446) to position 99 on every line beginning with 71602 (see example below),
There may be many 71303 lines but I need the text copying to... (2 Replies)