Color (Editor editor, int startOffset, boolean selected) { EditorColorsScheme scheme = editor.getColorsScheme(); if (ExperimentalUI.isNewUI()) { List<RangeHighlighter> highlighters = ContainerUtil.filter(editor.getMarkupModel().getAllHighlighters(), x -> x.getLineMarkerRenderer() instanceof DefaultLineMarkerRenderer); for (RangeHighlighter highlighter: highlighters) { DefaultLineMarkerRenderer renderer = (DefaultLineMarkerRenderer)highlighter.getLineMarkerRenderer(); assert renderer != null; if (editor.offsetToVisualLine(startOffset, false) == editor.offsetToVisualLine(highlighter.getStartOffset(), false)) { Color color = renderer.getColor(); if (color != null) { Color matched = scheme.getColor(EditorColors.MATCHED_BRACES_INDENT_GUIDE_COLOR); return ObjectUtils.notNull(matched, color); } } } } return scheme.getColor(selected ? EditorColors.SELECTED_INDENT_GUIDE_COLOR : EditorColors.INDENT_GUIDE_COLOR); }