in src/main/kotlin/consumer/ScipService.kt [53:58]
fun findOccurrencesAt(file: VirtualFile, range: TextRange): List<Scip.Occurrence> {
val indexDoc = findIndexDocument(file) ?: return emptyList()
val doc = FileDocumentManager.getInstance().getDocument(file) ?: return emptyList()
val scipRange = rangeToScipFormat(doc, range)
return indexDoc.occurrencesList.filter { it.rangeList == scipRange }
}