@Override
  public void moveToLogicalPosition(@NotNull LogicalPosition pos) {
    moveToOffset(getEditor().logicalPositionToOffset(pos));
  }
@Override
  public void moveToLogicalPosition(@NotNull LogicalPosition pos)