Interface FindMatchesOptions

Options for searching in an editor.

interface FindMatchesOptions {
    isRegex: boolean;
    limitResultCount?: number;
    matchCase: boolean;
    matchWholeWord: boolean;
    searchString: string;
}

Properties

isRegex: boolean

Used to indicate that searchString is a regular expression.

limitResultCount?: number

Limit the number of results.

matchCase: boolean

Force the matching to match lower/upper case exactly.

matchWholeWord: boolean

Force the matching to match entire words only.

searchString: string

The string used to search. If it is a regular expression, set isRegex to true.