SearchContext.occurrencesCount

Get occurrencesCount property.

class SearchContext
@property
int
occurrencesCount
()

Return Value

Type: int

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.