DtEditorInvokeSpellDialog(library call) DtEditorInvokeSpellDialog(library call)
NAME
DtEditorInvokeSpellDialog -- display the DtEditor widget dialog for checking text for spelling errors
SYNOPSIS
#include <Dt/Editor.h>
DtEditorErrorCode DtEditorInvokeSpellDialog(
Widget widget);
DESCRIPTION
The DtEditorInvokeSpellDialog function displays the Spell dialog for the DtEditor widget. This dialog displays the list of unrecognized or
misspelled words from the widget's text. Users can search for and replace misspelled words with the Spell dialog. The list of misspelled
words is automatically generated by filtering the text for the DtEditor widget through the filter specified by the DtNspellFilter resource
when DtEditorInvokeSpellDialog is called. For a complete description of the Spell dialog and the DtNspellFilter resource, see DtEditor(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
Upon successful completion, the DtEditorInvokeSpellDialog function returns DtEDITOR_NO_ERRORS if the widget successfully executed the spell
filter; otherwise, it returns one of the following:
DtEDITOR_SPELL_FILTER_FAILED
If it cannot successfully execute the filter specified by the DtNspellfilter resource.
DtEDITOR_NO_TMP_FILE
If it cannot create a temporary file in the directory returned by tmpnam(3S).
SEE ALSO
Dt/Editor.h - DtEditor(5), DtEditor(3), tmpnam(3S).
DtEditorInvokeSpellDialog(library call)
Check Out this Related Man Page
DtEditorDeselect(library call) DtEditorDeselect(library call)
NAME
DtEditorDeselect -- deselect the current selection in a DtEditor widget
SYNOPSIS
#include <Dt/Editor.h>
Boolean DtEditorDeselect(
Widget widget);
DESCRIPTION
The DtEditorDeselect function deselects any currently selected text in a DtEditor widget. The entire contents of a DtEditor widget may be
selected with DtEditorSelectAll(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
Upon successful completion, the DtEditorDeselect function returns True; otherwise, if the primary selection is NULL, or if the widget does
not own the primary selection, it returns False.
SEE ALSO
Dt/Editor.h - DtEditor(5), DtEditor(3), DtEditorClearSelection(3), DtEditorCopyToClipboard(3), DtEditorCutToClipboard(3), DtEditorDeleteSe-
lection(3), DtEditorSelectAll(3).
DtEditorDeselect(library call)
Man Page
4 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
Administrator/Moderators,
I would like to put forth a request rather a suggestion in other words.
How about the inclusion of 'SPELL CHECK' tool along with existing submit reply and preview post tools?
I believe that would be very much helpful in understanding questions clearly deprived of... (2 Replies)
Hi,
I am trying to filter the words from a file which contain 'abc'. But I am unable to. Could any one help me.
For eg: The file contents are
123ab 12hnj1 123abc456 123cgbcahjkf23 23134abchfhj43 gc32abc abc1 2abc3 sd uiguif fhwe 21242 uh123 jkcas124d123 u3hdbh23u ffsd8
Output... (3 Replies)
Hello,
I have a list of words separated by spaces I am trying to delete from a text file, and I could not figure out what is the best way to do this.
what I tried (does not work) :
delete="password key number verify"
arr=($delete)
for i in arr
{
sed "s/\<${arr}\>]*//g" in.txt
}
>... (5 Replies)