@Override
  public @NotNull TextRange getRangeInElement(@NotNull YAMLScalarImpl element) {
    final List<TextRange> ranges = element.getContentRanges();
    if (ranges.isEmpty()) {
      return TextRange.EMPTY_RANGE;
    }
    
    return TextRange.create(ranges.get(0).getStartOffset(), ranges.get(ranges.size() - 1).getEndOffset());
  }
@Override
  public @NotNull TextRange getRangeInElement(@NotNull YAMLScalarImpl element)