Unix and Linux Discussions Tagged with text |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
17,253 |
Solaris |
|
|
|
7 |
19,658 |
Programming |
|
|
|
0 |
1,033 |
Software Releases - RSS News |
|
|
|
0 |
582 |
Software Releases - RSS News |
|
|
|
5 |
2,885 |
Shell Programming and Scripting |
|
|
|
1 |
2,371 |
Shell Programming and Scripting |
|
|
|
1 |
17,393 |
Shell Programming and Scripting |
|
|
|
1 |
5,218 |
Shell Programming and Scripting |
|
|
|
6 |
3,162 |
Shell Programming and Scripting |
|
|
|
0 |
1,376 |
Software Releases - RSS News |
|
|
|
0 |
1,329 |
Complex Event Processing RSS News |
|
|
|
3 |
2,530 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
571 |
Software Releases - RSS News |
|
|
|
4 |
15,484 |
Shell Programming and Scripting |
|
|
|
12 |
7,509 |
Programming |
|
|
|
1 |
7,900 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,673 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
549 |
Software Releases - RSS News |
|
|
|
7 |
6,514 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
11,959 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
595 |
Software Releases - RSS News |
|
|
|
5 |
3,255 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
17,528 |
Shell Programming and Scripting |
|
|
|
3 |
2,031 |
Shell Programming and Scripting |
|
|
|
0 |
603 |
Software Releases - RSS News |
|
|
|
11 |
36,135 |
Shell Programming and Scripting |
|
|
|
8 |
8,061 |
Shell Programming and Scripting |
|
|
|
3 |
2,457 |
Shell Programming and Scripting |
|
|
|
4 |
13,515 |
Shell Programming and Scripting |
|
|
|
0 |
545 |
Software Releases - RSS News |
|
|
|
0 |
1,139 |
Software Releases - RSS News |
|
|
|
2 |
1,523 |
Shell Programming and Scripting |
|
|
|
5 |
3,707 |
Shell Programming and Scripting |
|
|
|
1 |
6,035 |
UNIX and Linux Applications |
|
|
|
2 |
2,906 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
657 |
Software Releases - RSS News |
|
|
|
2 |
2,170 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
5,647 |
Shell Programming and Scripting |
|
|
|
0 |
694 |
Software Releases - RSS News |
|
|
|
0 |
2,222 |
OS X Support RSS |
DXmCSTextReplace(3X) DXmCSTextReplace(3X)
NAME
DXmCSTextReplace - Replaces a specified segment of text in a compound string text widget.
SYNOPSIS
DXmCSTextStatus DXmCSTextReplace(
Widget widget,
int from_pos,
int to_pos,
XmString value );
PARAMETERS
The identifier (widget ID) of the compound string text widget. An integer that represents the first character position of the text being
replaced. An integer that represents the last character position of the text being replaced. Replacement text for part of the current
text in the compound string text widget, or additional text to be inserted into the compound string text widget.
DESCRIPTION
The DXmCSTextReplace routine replaces part of the text in the compound string text widget. Within the widget, positions are numbered
starting at 0 and increasing sequentially. For example, to replace the second and third characters in the text, from_pos should be 1 and
to_pos should be 3. To insert text after the fourth character, from_pos and to_pos should both be 4.
RETURN VALUES
A value that represents the status (success or failure) of the replace operation, as follows:
--------------------------------------------------------
Value Description
--------------------------------------------------------
DXmCSTextStatusEditDone Text replaced successfully.
DXmCSTextStatusEditError Text not replaced (failure).
--------------------------------------------------------
SEE ALSO
DXmCreateCSText(3X), DXmCSTextSetString(3X), DXmCSTextGetString(3X)
DXmCSTextReplace(3X)