@Override
  public @NotNull VisualPosition logicalToVisualPosition(final @NotNull LogicalPosition pos) {
    assertValid();
    return new VisualPosition(pos.line, pos.column);
  }
@Override
  public @NotNull VisualPosition logicalToVisualPosition(final @NotNull LogicalPosition pos)