XmTextInsertWcs(3X)XmTextInsertWcs(3X)NAME
XmTextInsertWcs - A Text function that inserts a wide character string into a Text widget
SYNOPSIS
#include <Xm/Text.h>
void XmTextInsertWcs (widget, position, wcstring)
Widget widget;
XmTextPosition position;
wchar_t *wcstring;
DESCRIPTION
XmTextInsertWcs inserts a wide character string into the Text widget at a specified location. The character positions begin at zero and
are numbered sequentially from the beginning of the text. For example, to insert a string after the fourth character, the position parame-
ter must be 4.
This routine calls the widget's XmNvalueChangedCallback and verification callbacks, either XmNmodifyVerifyCallback or XmNmodifyVerifyCall-
backWcs, or both. If both verification callback lists are registered, the procedures of the XmNmodifyVerifyCallback list are executed
first and the resulting data is passed to the XmNmodifyVerifyCallbackWcs callbacks. Specifies the Text widget ID Specifies the position in
the text string where the new character string is to be inserted Specifies the wide character string value to be added to the Text widget
For a complete definition of Text and its associated resources, see XmText(3X).
SEE ALSO XmText(3X), XmTextInsert(3X)XmTextInsertWcs(3X)
Check Out this Related Man Page
XmTextInsert(library call) XmTextInsert(library call)
NAME
XmTextInsert -- A Text function that inserts a character string into a text string
SYNOPSIS
#include <Xm/Text.h>
void XmTextInsert(
Widget widget,
XmTextPosition position,
char * value);
DESCRIPTION
XmTextInsert inserts a character string into the text string in the Text widget. The character positions begin at 0 (zero) and are numbered
sequentially from the beginning of the text. For example, to insert a string after the fourth character, the parameter position must be 4.
This routine calls the widget's XmNvalueChangedCallback and verification callbacks, either XmNmodifyVerifyCallback or XmNmodifyVerifyCall-
backWcs, or both. If both verification callback lists are registered, the procedures of the XmNmodifyVerifyCallback list are executed first
and the resulting data is passed to the XmNmodifyVerifyCallbackWcs callbacks. If the XmNcursorPosition resource is greater than or is the
same value as position, the XmNmotionVerifyCallback is called.
Note that, if value is a null string, no callbacks will be generated, since no modifications will have been made.
widget Specifies the Text widget ID.
position Specifies the position in the text string where the character string is to be inserted.
value Specifies the character string value to be added to the text widget.
For a complete definition of Text and its associated resources, see XmText(3).
RELATED XmText(3) and XmTextInsertWcs(3).
XmTextInsert(library call)
How would I split a file based on the location of a string, basically I want all entries above the string unix in this example
1
2
3
4
unix
5
6
7
Thanks,
Chuck (3 Replies)
Hello. Trying to insert text at line 1 and after last line of file. I have searched posts but nothing seems to work. I keep getting extra characters error or nothing gets inserted into the file.
#!/bin/sh
touch textfile.txt
sed 'i\
Add this line before every line with WORD' textfile.txt
... (5 Replies)
I have a data file:
abc Text Text Text Unique Text
123 Text word Line Unique Text
fgh Text data Line Unique Text
789 Text Text Line Unique Text
543 Text Text Data Unique Text
and a filter file
123
789
I want to extract out from the data file the two records that contain the keys... (1 Reply)
Hi,
I have a file like that
No seq Text
269091 123443124 how are slkslks, serial no is 042890000 and pincode is
090001223433454
269091 123443124 how are slkslks, Sr/no is 0428901 and 14 digits are is
... (3 Replies)
Hi
Is there a unix script that will change the text in lefthand column to text in righthand column.
0 0
1 1
10 10
100 100
1000 1000
1001 1001
1002 1002
1003 1003
1004 1004
1005... (7 Replies)
Hi guys! I am very much new to UNIX...and I was just wondering on how you would display this text format in UNIX with only just one command :
Text 1
Text 2
Text 3
Texts are in aligned vertically in such format...Thanks for your help :) (8 Replies)
Hi All,
Can someone pls help me to insert some text on a file.
my file contains something like below..
AKBULBU,
BALUMIL,
BATCH,BATCH
BOARROB,
BOTAKAT,
C57896,
CAKIOZE,
CHECMER,
CICOFRA,
CISZPAW,2194485
I want output as
USER_ID, LOGIN_ID (6 Replies)
I have a file that has some text that looks like this
Some Text
1. More text
2. Different text
Final Text
I would like the remove the lines of text that start with the numbers.
Some Text
Final Text
I have tried to use cat file.txt | grep -Ev 1. >... (9 Replies)
I want to insert "Text" in each file as a place where I mentioned below "Insert Text Here". These files are something like news of newspaper. Generally, newspaper headlines contain one or two lines.
I don't know how it can be identified whether Text is inserted after first line or second line.
... (10 Replies)