public void addHighlights(List<? extends TextRange> ranges, TextAttributesKey key) {
    for (TextRange r : ranges) {
      addHighlighter(r, UnwrapHandler.HIGHLIGHTER_LEVEL, key);
    }
  }
public void addHighlights(List<? extends TextRange> ranges, TextAttributesKey key)