TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

SearchNext

SearchNext(oProperties, oProperties.searchString, [oProperties.matchCase], [isForward]) → { boolean }

Finds and selects the next occurrence of the text starting at the current position.

Parameters:

Name Type Default Description
oProperties Object

An object which contains the search string.

oProperties.searchString string

The search string.

oProperties.matchCase boolean true

Case sensitive or not.

isForward boolean true

Search direction.

Returns:

Type
boolean

Example

Copy code
window.Asc.plugin.executeMethod ("SearchNext", [
    {
        "searchString": "text",
        "matchCase": true
    },
    true
]);