scrollRight method

ViewportModel scrollRight(
  1. int n
)

Scrolls right by the given number of columns.

Implementation

ViewportModel scrollRight(int n) {
  if (softWrap) return this;
  return setXOffset(xOffset + n);
}