DtEditorInvokeSpellDialog(3) — Subroutines
NAME
DtEditorInvokeSpellDialog − display the DtEditor widget dialog for checking text for spelling errors
SYNOPSIS
#include <Dt/Editor.h>
Boolean DtEditorInvokeSpellDialog(Widget widget)
DESCRIPTION
The DtEditorInvokeSpellDialog() function displays the Spell dialog of the DtEditor widget. This dialog displays the list of unrecognized or misspelled words from the widgets’s text. Users can search for and replace misspelled words with the Spell dialog. The list of misspelled words is produced by filtering the text for the DtEditor widget through the filter specified by the DtNspellFilter resource. 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 True if the widget sucessfully excuted the spell filter; otherwise, it returns False.
SEE ALSO
— 3 May 1994