}
private void highlight(Project project, Editor editor, GoLiteralIdentifier identifierToInline) {
HighlightManager manager = HighlightManager.getInstance(project);
EditorColorsScheme scheme = EditorColorsManager.getInstance().getGlobalScheme();
TextAttributes attributes = scheme.getAttributes(EditorColors.SEARCH_RESULT_ATTRIBUTES);
TextAttributes writeAttributes = scheme.getAttributes(EditorColors.WRITE_SEARCH_RESULT_ATTRIBUTES);
manager.addOccurrenceHighlights(editor, readUsages, attributes, true, null);
manager.addOccurrenceHighlights(editor, writeUsages, writeAttributes, true, null);
manager.addOccurrenceHighlights(editor, new PsiElement[]{identifierToInline}, writeAttributes, true, null);
}