CONTENTS | INDEX | PREV | NEXT
SYNTAX : RANGE CTRL_X
RESULTING ARGUMENT: None
FUNCTION : This function allows both horizontal and vertical
scrolling-regions to be modified at one time.
These settings specify the trigger-regions that control
how near the cursor is allowed to reach the border of
the text area before scrolling begins. It is specified
as a number of characters: first horizontal, then
vertical.
With a special value for the first parameter, this
function also controls the size of a TAB character.
RANGE : -1,TAB-SIZE
RANGE : HORIZONTAL,VERTICAL
TAB-SIZE: The number of characters a TAB is wide.
HORIZONTAL: The number given is the number of
characters to remain visible between
cursor and window border.
VERTICAL : The number given is one larger than the
number of lines to remain visible between
cursor and window border. When zero, the
half-page jump incorporated in releases
up to 4.1 will be activated.
The maximum values allowed depend on the active font
and the size of the text area. They will always be one
half screen in characters.
DEFAULT : TAB-SIZE: 8
HORIZONTAL: 3
VERTICAL : 2
EXAMPLE : 3 , 0 CTRL_X
Set horizontal scrolling-region to 3 and vertical
scrolling-region off (half-page jump).
NOTE : The settings-requester allows comfortable interactive
setting of these values on the Amiga.
MATRIX