DtEditorInvokeFindChangeDialog(library call) DtEditorInvokeFindChangeDialog(library call)
NAME
DtEditorInvokeFindChangeDialog -- display the DtEditor widget dialog for searching and replacing text
SYNOPSIS
#include <Dt/Editor.h>
void DtEditorInvokeFindChangeDialog(
Widget widget);
DESCRIPTION
The DtEditorInvokeFindChangeDialog function displays the Find/Change dialog for the DtEditor widget. This dialog enables a user to search
for, and optionally replace, a string in the text for the DtEditor widget. It also allows the user to specify a replacement string, which
can be substituted for either the next occurrence of the search string or all occurrences. The Find/Change dialog remains displayed until
the user closes it. For a complete description of the Find/Change dialog see DtEditor.
Subsequent searches for the last search string entered can be made by calling DtEditorFind(3). Subsequent substitutions can be made with
DtEditorChange(3).
The widget argument specifies the DtEditor widget ID.
For a complete definition of the DtEditor widget and its associated resources, see DtEditor(3).
RETURN VALUE
The DtEditorInvokeFindChangeDialog function returns no value.
SEE ALSO
Dt/Editor.h - DtEditor(5), DtEditor(3), DtEditorChange(3), DtEditorFind(3).
DtEditorInvokeFindChangeDialog(library call)
Check Out this Related Man Page
DtEditorInvokeFormatDialog(library call) DtEditorInvokeFormatDialog(library call)
NAME
DtEditorInvokeFormatDialog -- display the DtEditor widget dialog for choosing formatting options
SYNOPSIS
#include <Dt/Editor.h>
void DtEditorInvokeFormatDialog(
Widget widget);
DESCRIPTION
The DtEditorInvokeFormatDialog function displays the Format Settings dialog of the DtEditor widget. This dialog enables a user to set the
text formatting options: margins and text alignments (left aligned, right aligned, justified or centered). The dialog also provides the
capability to format either the paragraph containing the insertion cursor or the entire contents of the DtEditor widget. The Format Set-
tings dialog remains displayed until the user closes it. For a complete description of the Format Settings dialog, see DtEditor.
Text can be formatted programmatically with DtEditorFormat(3).
The widget argument specifies the DtEditor widget ID.
For a complete definition of the DtEditor widget and its associated resources, see DtEditor(3).
RETURN VALUE
The DtEditorInvokeFormatDialog function returns no value.
SEE ALSO
Dt/Editor.h - DtEditor(5), DtEditor(3), DtEditorFormat(3).
DtEditorInvokeFormatDialog(library call)
I want to change time format
For example ,
1:1:15 = Change to => 01:01:15
10:8:20 = Change to => 10:08:20
22:10:2 = Change to => 10:10:02
Thank in advance (4 Replies)
I need to search for a specific string in a file and if this string exist I need to replace it with something else. I am not sure how I could do this, using an if statement. (2 Replies)
Hi ALL,
I want to search one string “20 “ i.e 20 with space.
But my file where I am searching this “20 “ contain some data like
120 before image file truncated
220 Reports section succeeded
20 Transaction database .prd stopped
220 Reports section completed.
When I search for the... (5 Replies)
hi
i have a file contains data
session terminated
Line timeout: 120
Change state START->SIGNON_REPLY, RC=0
Change state SIGNON_REPLY->SIGNON, RC=0
i need to remove "Change state" and write to the same file
please help
thanks
Satya (3 Replies)
i have a few scripts in which i need to find string"ali1@abcd.com" and replace it with "ali@abcd.com"
i used 2 below commands but none of them is permanently replacing the old string in the script s.sh
perl -pi -e 's/ali1@abcd.com/ali@abcd.com/g' s.sh
sed 's/ali1@abcd.com/ali@abcd.com/g'... (7 Replies)
All,
I have a text file which has the following data
X_SQL_13,X_SQL_14,X_SQL_15,X_SQL_16,X_SQL_17,X_SQL_18,X_SQL_19,X_SQL_20,X_SQL_21,X_SQL_22,X_SQL_23,X_SQL_24,X_SQL_25,X_SQL_26,X_SQL_27,... (4 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
(o) Checkout an auto part: should prompt the user for the name of the auto part
and borrower's name:
Name:... (2 Replies)
Hi,
I am trying to search a string from a text file which is in between "" (Double Quotes) (Eg: "Unix"), and replace it with a | where ever it is appearing in the text file and save the file.
Please help me.
-kkmdv (6 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 one file, i am doing 'vi Filename' now i want to search for particular string and i want to know how many times that string occurs in whole file (5 Replies)
Hi,
i am trying to find and replace .har file in unix, i could see the result with replaced string but the file format is changed. could you please help me in replacing the file without the file format modification
inputstring=$(cat Test_project.har)
find="Pharmacy Interface Module"
echo... (5 Replies)
Hi All,
In I text file I had lot of columns as below and with different id's and I need to replace with only one "vreddy". Please let me know the command for it.
CHANGE_USERID="bbhaska"
CHANGE_USERID="skanaujeg"
Please use CODE tags as required by forum rules! (3 Replies)
I just made some quick PHP changes so if "userid 2" is selected, all users will appear in the search results:
https://www.unix.com/post_thanks.php?do=findthanks&u=2
Basically, this search will bring all thanked posts by all users ordered by time, from newest to oldest.
Search for Thanked... (4 Replies)
I have 13 text files and almost all of them contain the same string.
but some file has diffrent string inside.
I want to send that file which has a diffrent string inside (11 Replies)
I have the below string which i need to compare with a file and replace this string in the file which matches closely. Can anyone help me on this.
string(Scenario 1)- user::r--,user::ourfrd:r--
String(Scenario 2)- user::r--
File
****
# file: /local/Desktop/myfile
# owner: me
# group:... (6 Replies)