nsITextScroll

The nsITextScroll is an interface that can be implemented by a control that
supports text scrolling.

Methods

scrollByLines(numLines)

Scroll the view up or down by aNumLines lines. positive
values move down in the view. Prevents scrolling off the
end of the view.

Parameters

numLines number of lines to scroll the view by

scrollByPages(numPages)

Scroll the view up or down by numPages pages. a page
is considered to be the amount displayed by the clip view.
positive values move down in the view. Prevents scrolling
off the end of the view.

Parameters

numPages number of pages to scroll the view by