List<RangeHighlighter> () { TextAttributes attributes = getTextAttributes(type, editor, BackgroundType.DEFAULT); RangeHighlighter highlighter = editor.getMarkupModel() .addRangeHighlighter(start, end, getLayer(INLINE_LAYER, layerPriority), attributes, HighlighterTargetArea.EXACT_RANGE); if (start == end) installEmptyRangeRenderer(highlighter, type); return Collections.singletonList(highlighter); }