DTEDITORFIND(3)

πŸ“¦
version 2.5.3 Β· 2 versions
, in nixos 26.05

πŸ’– 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. If find is NULL, DtEditorFind uses 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 🌈


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