public void highlight(@NotNull PsiElement wholeAffected, @NotNull List<? extends PsiElement> toExtract) {
    Pair<TextRange, List<TextRange>> ranges = collectTextRanges(wholeAffected, toExtract);

    highlight(ranges);
  }
public void highlight(@NotNull PsiElement wholeAffected, @NotNull List<? extends PsiElement> toExtract)