@Override
  public @NotNull VisualPosition offsetToVisualPosition(final int offset) {
    return getEditor().offsetToVisualPosition(offset);
  }
@Override
  public @NotNull VisualPosition offsetToVisualPosition(final int offset)