DwtCSTextSetSelection(3Dwt)DwtCSTextSetSelection(3Dwt)Name
DwtCSTextSetSelection - Highlights the specified text in the compound-string text widget and makes it the current global selection.
Syntax
void DwtCSTextSetSelection(widget, first, last, time)
Widget widget;
int first, last;
Time time;
Arguments
widget Specifies the ID of the compound-string text widget.
first Specifies the first character position of the selected compound-string text.
last Specifies the last character position of the selected compound-string text.
time Specifies the time of the event that led to the call to XSetSelectionOwner. You can pass either a timestamp or CurrentTime.
Whenever possible, however, use the timestamp of the event leading to the call.
Description
The DwtCSTextSetSelection function makes the specified text in the compound-string text widget the current global selection and highlights
it in the compound-string text widget. Within the text window, first marks the first character position and last marks the last position.
The field characters start at 0 and increase sequentially.
See AlsoDwtCSText(3Dwt), DwtCSTextCreate(3Dwt), DwtCSTextReplace(3Dwt), DwtCSTextGetString(3Dwt), DwtCSTextSetString(3Dwt), DwtCSTextGetEd-
itable(3Dwt), DwtCSTextSetEditable(3Dwt), DwtCSTextGetMaxLength(3Dwt), DwtCSTextSetMaxLength(3Dwt), DwtCSTextGetSelection(3Dwt)
Guide to the XUI Toolkit: C Language Binding
Guide to the XUI Toolkit Intrinsics: C Language Binding
DwtCSTextSetSelection(3Dwt)
I have a text file like:
The name of the project = "Symbion centrifuge"
The name of the subsytem = "motor demon"
now i would like to read the string after the = into a variable to write it to another file.
later use like:
sed s/'PROJECTNAME'/"$projectname"/ <header.tex >temp
... (9 Replies)
Hello!
Please, help me to write such script.
I have some text file with name filename.txt
I must check if this file contains string "test-string-first", I must cut from this file string which follows string "keyword-string:" and till first white-space and save it to some variable.
For... (3 Replies)
I have a text file where I need to find the string = ST*850*
This string is repetaed several times in the file, so I need to know how many times it appears in the file, this is the text files:
ISA*00* *00* *08*925485USNR *ZZ*IMSALADDERSP... (13 Replies)
Hello,
Here is my problem using KSH
I have a set of compound variables, let say cmp_var1 cmp_var2
The names of these variables are stored in an indexed array.
How can I access the subfields of these compound variables ?
I tried:
set -A cmp_varnames=(cmp_var1 cmp_var2)
for cmp in... (4 Replies)
The KRB5ALDAP compound load module is giving me fits. Everything looks like it should be working, but no.
Goal: Integrate AIX host with Active Directory using a KRB5ALDAP compound load module so that users can be created in AD and used in AIX, with unix attributes (registry values) being... (2 Replies)