SentenceFinder

plugins/search.SentenceFinder

constructor

new SentenceFinder(searchIndex?): SentenceFinder

Parameters

Name Type Default value
searchIndex FuzzySearch fuzzySearchIndex

Returns

SentenceFinder

Defined in

src/plugins/search/helpers/sentence-finder.ts#34

add

add(node): void

Parameters

Name Type
node Text

Returns

void

Defined in

src/plugins/search/helpers/sentence-finder.ts#36


ranges

ranges(needle, position?): Nullable<ISelectionRange[]>

Parameters

Name Type Default value
needle string undefined
position number 0

Returns

Nullable<ISelectionRange[]>

Defined in

jodit/src/plugins/search/helpers/sentence-finder.ts:54