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