DTEDITORFIND(3)
π NAME π
okay bestie, this is DtEditorFind from the DtEditorFind(library call) manual β the icon whose whole job is searching for the next occurrence of a string in a DtEditor widget. It's giving text-search main character energy, no cap. π¦
β¨ SYNOPSIS β¨
#include &<Dt/Editor.h>
Boolean DtEditorFind(
Widget widget,
char *find);
π¦ DESCRIPTION π¦
okay so here's the vibe: DtEditorFind searches for the next occurrence β relative to the insertion cursor β of a string. That string is either the last find string value specified in the Find/Change dialog (peep DtEditorInvokeFindChangeDialog(3), bestie) or it's passed in as an argument. π
widgetβ specifies the DtEditor widget ID. That's the main character ID, periodt. πfindβ specifies the string to search for. IffindisNULL,DtEditorFinduses the last string specified in the Find field of the Find/Change dialog. π
If the string is not found by the time the end of the document is reached, the search continues at the beginning of the document, stopping at the character before the insertion cursor. yes, it heads back to the beginning β iconic behavior, but stay with me. π₯
For a complete definition of the DtEditor widget and its associated resources, see DtEditor(3). iykyk. π
π RETURN VALUE π
Upon successful completion, the DtEditorFind function returns True if the search string was found; otherwise, it returns False. That's it β found = True, not found = False, periodt. π
π SEE ALSO π
Dt/Editor.h-DtEditor(5),DtEditor(3),DtEditorChange(3),DtEditorInvokeFindChangeDialog(3).
okay bestie, that's the whole page β signing off from the DtEditorFind(library call) footer energy. source/version/date weren't listed on this page, so this is the cute version instead: π«Άπβ¨
π¦ 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