/sys$common/syshlp/EVE$HELP.HLB  —  SET_SCROLL_MARGINS
  SET SCROLL MARGINS

  Sets the top and bottom distances at which scrolling begins automatically
  as you move the cursor up and down. You specify the distances as numbers
  of lines or as percentages of the window size.

  Examples:

     Commands                      Effects
     ----------------------------------------------------------------------
     SET SCROLL MARGINS 0 0        Default settings---scrolling starts when
                                   you move past the top or bottom line of
                                   the current window.

     SET SCROLL MARGINS 2 3        Scrolling starts two lines from the top
                                   of the window or three lines from the
                                   bottom of the window.

     SET SCROLL MARGINS 9% 14%     Scrolling starts at 9% from the top of
                                   the window and 14% from the bottom---with
                                   a 21-line main window, this is two lines
                                   from the top and three lines from the
                                   bottom:

                                   Top scroll         +------------------+
                                   margin is 2        |¹                 |
                                             \_______ |²                 |
                                                      |                  |
                                                      |   21-line window |
                                                      |                  |
                                              _______ |³                 |
                                             /        |²                 |
                                   Bottom scroll      |¹                 |
                                   margin is 3        +------------------+

     SET SCROLL MARGINS 5 6        Equivalent to the EDT command SET CURSOR
                                   5:15 (assuming a 21-line main window).
                                   See help on EDT Conversion.

  Usage notes:

  o  If you specify the scroll margins as numbers of lines, EVE converts
     them to percentages of the window size, so that if you resize the
     window---for example, by using SPLIT WINDOW---the scroll margins are
     proportional to the window size.

  o  Scroll margins apply in all buffers, but are not saved in a section
     file or command file. To keep your scroll margins for future editing
     sessions, put the SET SCROLL MARGINS command you want in an
     initialization file (typically named EVE$INIT.EVE). See help on
     Initialization Files.

  o  You cannot set scroll margins that overlap. For example, with a 21-line
     main window, you cannot set scroll margins of 12 14.

  Related topics:

     SET CURSOR BOUND     SET CURSOR FREE
     SET SCROLL JUMP      SET SCROLL ON
     SET SCROLL OFF       SET SCROLL SMOOTH
Close Help