void () { boolean clearHighlights = HighlightUsagesHandler.isClearHighlights(myEditor); HighlightUsagesHandler.highlightRanges(HighlightManager.getInstance(myFile.getProject()), myEditor, EditorColors.SEARCH_RESULT_ATTRIBUTES, clearHighlights, myReadUsages); HighlightUsagesHandler.highlightRanges(HighlightManager.getInstance(myFile.getProject()), myEditor, EditorColors.WRITE_SEARCH_RESULT_ATTRIBUTES, clearHighlights, myWriteUsages); if (!clearHighlights) { WindowManager.getInstance().getStatusBar(myFile.getProject()).setInfo(myStatusText); HighlightHandlerBase.setupFindModel(myFile.getProject()); // enable f3 navigation } if (myHintText != null) { HintManager.getInstance().showInformationHint(myEditor, myHintText); } }