NotebookFind[notebook, data] sets the current selection in the specified notebook object to be the next occurrence of data.
NotebookFind[notebook, data, Previous] sets the current selection to be the previous occurrence.
NotebookFind[notebook, data, All] sets the current selection to be all occurrences.
NotebookFind[notebook, data, dir, elems] searches the elements of cells specified by elems.
NotebookFind returns $Failed if the search it performs finds no occurrence of data.
notebook must be a NotebookObject, as returned by NotebookOpen, etc.
data can be a string, box expressions, or a complete cell.
The possible elements are:
The default for elems is CellContents.
Unless the option setting AutoScroll->False is given, the front end will scroll a notebook so that the result of NotebookFind is visible.
The front end will also usually highlight the region corresponding to the result.
See Section 2.11.3.
See also: NotebookLocate, SelectionMove, NotebookOpen, Find.
New in Version 3.