void (@NotNull Project project, @NotNull RangeHighlighterEx highlighter) { Content selectedContent = getSelectedContent(project); HighlightingPanel panel = getSelectedHighlightingPanel(selectedContent); if (panel != null && panel.isShowing()) panel.selectHighlighter(highlighter); }