DTEDITORINVOKESPELLDIALOG(3)
π NAME π
okay so bestie, this is DtEditorInvokeSpellDialog, a library call that displays the DtEditor widget dialog for checking text for spelling errors. Itβs giving spell-check main character energy, no cap. β¨
π SYNOPSIS π
#include &<Dt/Editor.h>
DtEditorErrorCode DtEditorInvokeSpellDialog(
Widget widget);
π¦ DESCRIPTION π¦
The DtEditorInvokeSpellDialog function pops open the Spell dialog for the DtEditor widget. This dialog shows 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. Thatβs the whole vibe. π«Ά
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 theDtNspellfilterresource. (Yep, thatβs the exact spelling right there. π )DtEDITOR_NO_TMP_FILEβ if it cannot create a temporary file in the directory returned bytmpnam(3S).
π SEE ALSO π
Dt/Editor.h - DtEditor(5), DtEditor(3), tmpnam(3S).
And thatβs the whole page, bestie β signing off from the footer, where the source/version vibe is literally just a library call for DtEditorInvokeSpellDialog, and thereβs no date printed at all, so Iβm not inventing one. πβ¨π
π¦ where this page comes from
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms