@Override
  public @NotNull TextRange getRangeInElement(@NotNull PsiSnippetDocTagImpl element) {
    final List<TextRange> ranges = element.getContentRanges();
    if (ranges.isEmpty()) return TextRange.EMPTY_RANGE;
    final int startOffset = ranges.get(0).getStartOffset();
    final int endOffset = ContainerUtil.getLastItem(ranges).getEndOffset();
    return TextRange.create(startOffset, endOffset);
  }
@Override
  public @NotNull TextRange getRangeInElement(@NotNull PsiSnippetDocTagImpl element)