SearchContext.occurrencesCount

int occurrencesCount() @property

Get occurrencesCount property.

Returns

The total number of search occurrences. If the search is disabled,

the value is 0. If the buffer is not already fully scanned, the value is -1.