code: @Override
      public synchronized void move(int line, int column) {
          if (lines() < line) {
              this.column = 1;
          } else {
              String targetLine = lines.get(line - 1);
              if (targetLine.length() < column) {
                  this.column = targetLine.length() + 1;
              } else {
                  this.column = column;
              }
          }
          this.line = line;
      }
docs: Moves the index to the specified line and column.
  If the requested line is greater that the actual lines number and exception is thrown.
  If the requested column is greater than the line width, the index is moved to the end of the line.
  
  @param line
  @param column
  @throws IndexOutOfBoundsException When the requested line exceeds the number of lines in the content.