@Override
  public @NotNull String getText(@NotNull TextRange range) {
    return ReadAction
      .compute(() -> myText.subSequence(range.getStartOffset(), range.getEndOffset()).toString());
  }
@Override
  public @NotNull String getText(@NotNull TextRange range)