void (int offset, SeparatorPlacement placement, Color color) { RangeHighlighter highlighter = addRangeHighlighter(offset, offset, 0, null); highlighter.setLineSeparatorColor(color); highlighter.setLineSeparatorPlacement(placement); }