Scrolls a specified number of lines or columns of the file.
Scope: View
Syntax
Parameters
up |
Scroll up the file. |
down |
Scroll down the file (default direction). |
left |
Scroll the file to the left. |
right |
Scroll the file to the right. |
screen |
Scroll the number of lines in the Source view or the Editor window minus Number (or scrolls one line, whichever is greater). |
Number |
Scroll the specified number of lines (or if screen is used, subtract Number from screen count). The default is 1. |
Description
The scroll command scrolls up or down lines, or left or right across columns.
When scrolling vertically, the current position moves to the character and line vertically above or below the original position. After scrolling, the cursor usually remains on the same row in the window.
When scrolling horizontally, the cursor maintains its position in the window and the data is scrolled sideways.
Examples
scroll
scroll down 10
scroll up 8
API Return Code
-1 |
A parameter issued with the command was not valid. Check the command 's syntax requirements and then issue the command again using a valid parameter. |
