public static @NotNull TextRange calcSurroundingTextRange(@NotNull Editor editor,
                                                            @NotNull VisualPosition start,
                                                            @NotNull VisualPosition end) {
    return logicalPairToTextRange(editor, calcSurroundingRange(editor, start, end));
  }
public static @NotNull TextRange calcSurroundingTextRange(@NotNull Editor editor,
                                                            @NotNull VisualPosition start,
                                                            @NotNull VisualPosition end)