RangeHighlighter (int startOffset, int endOffset, int layer, Color foregroundColor, Color backgroundColor) { return addLineHighlighter(startOffset, endOffset, layer, new TextAttributes(foregroundColor, backgroundColor, null, null, Font.PLAIN)); }