@Override
  public @NotNull Point visualPositionToXY(final @NotNull VisualPosition pos) {
    assertValid();
    return logicalPositionToXY(visualToLogicalPosition(pos));
  }
@Override
  public @NotNull Point visualPositionToXY(final @NotNull VisualPosition pos)