DXmCSTextSetSelection(3X)DXmCSTextSetSelection(3X)NAME
DXmCSTextSetSelection - Designates the specified text as the current primary selection by highlighting it in the compound string text wid-
get.
SYNOPSIS
void DXmCSTextSetSelection(
Widget widget,
DXmCXTextPosition first,
DXmCXTextPosition last,
Time time );
PARAMETERS
The identifier (widget ID) of the compound string text widget. A value that represents the position of the first character in the text
being selected. A value that represents the position of the last character in the text being selected. Specifies the time of the event
that generated the call to the DXmCSTextSetSelection routine.
DESCRIPTION
The DXmCSTextSetSelection routine designates the specified text as the current primary selection by highlighting it in the compound string
text widget. Within the text window, first marks the position of the first character in the text and last marks the last character. The
field characters start at 0 and increase sequentially.
SEE ALSO DXmCreateCSText(3X), DXmCSTextClearSelection(3X), DXmCSTextGetSelection(3X)DXmCSTextSetSelection(3X)
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)
Can someone guide me on how to write a small script to create a text file with non-sense text, i.e. lorem ipsum... I would like it with about 5 paragraphs but I have no idea on how to perfrom that. Any help will be much appreciated.
Thanks, (5 Replies)
***************
#some other text
*****************
***************
#some other text
*****************
address1=1.1.1.1
address2=2.2.2.2
address3=3.3.3.3
I have a file where i need to push all the text starting from address1 till end of file to, below . Can anyone of you... (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)
Hi
I need to create multiple text files from onc text file on AIX. The data of text files is as below:
**********************************************
**********************************************
DBVERIFY: Release 10.2.0.4.0 - Production on Tue Nov 10 13:45:42 2009
Copyright (c) 1982,... (11 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 unix masters,
Im needing some guidance or a small code to enlight my problem.
Problem Example:
I have 3 different text ascii files. At each file, inside the text
have repeater marks.
--text 1 start--
123 -> mark
anytextanytext
anythinganything
123 ->mark
blahblah
blah
...... (6 Replies)
$# some text
$$ some text
$@ some text
$$. some text
Mg1 some text
Mg2 some text
.
.
.
Mg10 some text
The above 10 lines are to be extracted except the lines starting from $#,$$.,... (4 Replies)
Hello,
Although I have found similar questions, I could not find advice that
could help with our problem.
The issue:
We have several hundreds text files containing repeated blocks of text
(I guess back at the time they were prepared like that to optmize
printing).
The block of texts... (13 Replies)
Arun kumar something somehting Enterting in to the line
.
.
.
.
Some text text Finshing the sentence
Some other text
.
.
.
.
Again something somehting Enterting in to the line
.
.
.
.
.
.
Again text text Finshing the sentence (6 Replies)
Hello, I have a situation where I want to change a line of text in multiple files, but the problem is that I want to change the text to something unique for each file.
For example, let's say I have five files named bob.txt, joe.txt, john.txt, tom.txt, and zach.txt. Each of these files has a... (5 Replies)
I am trying to use the text of one file as a text file name with and the text of another as the contents of that text file. Is this possible? Thank you :).
For example, in the two files attached, target.txt has:
1.txt
2.txt
and out_parse.txt has:
13 20763642 20763642 C G... (5 Replies)
Hi
I have a XML file as shown below:
<Text Text_ID="10155645315850165_10155645333075165" From="460350337463650" Created="2014-10-16T17:05:37+0000" use_count="536">This is the first text</Text>
<Text Text_ID="10155645315850165_10155645317025165" From="1626711840908498"... (10 Replies)