Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xmtextfieldsethighlight(3x) [osf1 man page]

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

XmDataFieldSetHighlight(library call)									     XmDataFieldSetHighlight(library call)

NAME
XmDataFieldSetHighlight -- A DataField function that highlights text SYNOPSIS
#include <Xm/DataF.h> void XmDataFieldSetHighlight( Widget widget, XmTextPosition left, XmTextPosition right, XmHighlightMode mode); DESCRIPTION
XmDataFieldSetHighlight 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 DataField 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 DataField and its associated resources, see XmDataField(3). RELATED
XmDataField(3). XmDataFieldSetHighlight(library call)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

vi problem

Wat I can do for example to locate the word "happy" in the text from the beginning of the text? Thanks for help. (3 Replies)
Discussion started by: uct
3 Replies

2. UNIX for Dummies Questions & Answers

need to read 3° character from a text file

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)
Discussion started by: piltrafa
15 Replies

3. Shell Programming and Scripting

Please help me..(unix script)...

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)
Discussion started by: swamymns
7 Replies

4. Shell Programming and Scripting

"highlighting the text in ur output"

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)
Discussion started by: sakthi.abdullah
6 Replies

5. Shell Programming and Scripting

Eleminating Duplicate IPs from a text file

Hey Guys I need to eleminate duplicate IP's from a text file using bash.Any suggestions.Appreciate your help guys. --CoolKid (4 Replies)
Discussion started by: coolkid
4 Replies

6. Shell Programming and Scripting

sed delete pattern with special characters

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)
Discussion started by: stinkefisch
5 Replies

7. Shell Programming and Scripting

Read a text file and print the content..

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)
Discussion started by: samupnl
7 Replies

8. Shell Programming and Scripting

cut command issue from a line of text

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)
Discussion started by: asutoshch
5 Replies

9. Shell Programming and Scripting

Identify high values "ÿ" in a text file using Unix command

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)
Discussion started by: devina
5 Replies

10. Shell Programming and Scripting

dig-x: only part of the output is needed

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)
Discussion started by: Abdulelah
4 Replies

11. Shell Programming and Scripting

help, extract username from file

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)
Discussion started by: vanessafan99
3 Replies

12. Shell Programming and Scripting

Extract text between two character positions

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)
Discussion started by: Twinklefingers
3 Replies

13. Shell Programming and Scripting

Frequent words and trigraphs in text

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)
Discussion started by: khaled79
3 Replies

14. Shell Programming and Scripting

Supress text

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)
Discussion started by: ahmedwaseem2000
8 Replies

15. Shell Programming and Scripting

Bash copy and paste text in file from one position to another

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)
Discussion started by: firefox2k2
2 Replies