@ApiStatus.Internal
  public boolean containsOffset(int offset) {
    return offset >= myStartElement.getTextRange().getStartOffset() && offset <= myEndOffset;
  }
@ApiStatus.Internal
  public boolean containsOffset(int offset)