private void extractRanges(Block block) {
    if (block instanceof ExtraRangesProvider) {
      List<TextRange> newRanges = ((ExtraRangesProvider)block).getExtraRangesToFormat(myFormatRanges);
      if (newRanges != null) {
        totalNewRanges.addAll(newRanges);
      }
    }
  }
private void extractRanges(Block block)