RangeHighlighter (MarkupModel markupModel, TreeMap<Integer, LineData> executableLines, int line, int lineNumberInCurrent) { EditorColorsScheme scheme = EditorColorsManager.getInstance().getGlobalScheme(); TextAttributesKey attributesKey = CoverageLineMarkerRenderer.getAttributesKey(line, executableLines); TextAttributes attributes = scheme.getAttributes(attributesKey); if (attributes.getBackgroundColor() != null) { return markupModel.addLineHighlighter(lineNumberInCurrent, HighlighterLayer.ADDITIONAL_SYNTAX - 1, attributes); } return null; }