Search results

Search API in JavaScript DocumentEditor API control

Search module

Properties

searchResults SearchResults

Gets the search results object.

Methods

find

Finds the immediate occurrence of specified text from cursor position in the document.

Parameter Type Description
text string Specifies text to find.
findOptions (optional) FindOption Default value of ‘findOptions’ parameter is ‘None’.

Returns void

findAll

Finds all occurrence of specified text in the document.

Parameter Type Description
text string Specifies text to find.
findOptions (optional) FindOption Default value of ‘findOptions’ parameter is ‘None’.

Returns void