jumpTo method

void jumpTo(
  1. int newOffset
)

Scrolls to the given newOffset.

Implementation

void jumpTo(int newOffset) {
  offset = newOffset;
}