Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
DtEditorFind(library call)			    DtEditorFind(library call)

NAME
       DtEditorFind  --	search for the next occurrence of a string in a	DtEdi-
       tor widget

SYNOPSIS
       #include	<Dt/Editor.h>
       Boolean DtEditorFind(
       Widget widget,
       char *find);

DESCRIPTION
       The DtEditorFind	function searches for the next occurrence (relative to
       the  insertion cursor) of a string.  The	string is either the last find
       string value specified  in  the	Find/Change  dialog  (see  DtEditorIn-
       vokeFindChangeDialog(3))	or is passed in	as an argument.

       The widget argument specifies the DtEditor widget ID.

       The find	argument 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.

       For a complete definition of the	DtEditor widget	and its	associated re-
       sources,	see DtEditor(3).

RETURN VALUE
       Upon successful completion, the DtEditorFind function returns  True  if
       the search string was found; otherwise, it returns False.

SEE ALSO
       Dt/Editor.h  - DtEditor(5), DtEditor(3),	DtEditorChange(3), DtEditorIn-
       vokeFindChangeDialog(3).

						    DtEditorFind(library call)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=DtEditorFind&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help