SearchNext

function SearchNext(
  oProperties: object,
  oProperties.searchString: string,
  oProperties.matchCase: boolean = true,
  isForward: boolean = true,
): boolean

Description

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

Parameters

oPropertiesobject

An object which contains the search string.

oProperties.searchStringstring

The search string.

oProperties.matchCasebooleandefault: true

Case sensitive or not.

isForwardbooleandefault: true

Search direction.

Returns

boolean

Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).