*****************************************************************
***              AutoScroll AkelPad plugin v3.1               ***
*****************************************************************

2010 Shengalts Aleksander aka Instructor (Shengalts@mail.ru)


*** Description ***

Autoscrolling text.


*** Functions ***

AutoScroll::Main
Main function for start and stop plugin.

AutoScroll::Settings
Settings dialog.


*** External call (4.x.x only) ***

Call("AutoScroll::Main", 1, TYPE)
  Parameters:
    1
      Horizontal scroll.
    TYPE (one of the following):
      0  scrolls left by one character.
      1  scrolls right by one character.
      2  scrolls left by the width of the window.
      3  scrolls right by the width of the window.
      6  scrolls to the most left.
      7  scrolls to the most right.

Call("AutoScroll::Main", 2, TYPE)
  Parameters:
    2
      Vertical scroll.
    TYPE (one of the following):
      0  scrolls one line up.
      1  scrolls one line down.
      2  scrolls one page up.
      3  scrolls one page down.
      6  scrolls to the most up.
      7  scrolls to the most down.

Call("AutoScroll::Main", 3, VALUE, MOVECARET)
  Parameters:
    3
      Horizontal scroll.
    VALUE
      The number of characters to scroll horizontally. Positive - right, negative - left.
    MOVECARET (one of the following):
      0  don't move caret.
      1  move caret, when it is inside of the window.
      2  move caret, when it is outside of the window.

Call("AutoScroll::Main", 4, VALUE, MOVECARET)
  Parameters:
    4
      Vertical scroll.
    VALUE
      The number of lines to scroll vertically. Positive - down, negative - up.
    MOVECARET (one of the following):
      0  don't move caret.
      1  move caret, when it is inside of the window.
      2  move caret, when it is outside of the window.

Call("AutoScroll::Main", 5, STEPTIME, STEPWIDTH)
  Parameters:
    5
      Force autoscroll.
    STEPTIME
      Step time. Zero stops scrolling.
    STEPWIDTH
      Step width. Zero stops scrolling.

Call("AutoScroll::Main", 6, HORIZSYNC, VERTSYNC)
  Parameters:
    6
      Force synchronization.
    HORIZSYNC
      0  horizontal synchronization off.
      1  horizontal synchronization of frame windows is on (MDI).
      2  horizontal synchronization of split windows is on.
      3  horizontal synchronization of frame and split windows is on.
    VERTSYNC
      0  vertical synchronization off.
      1  vertical synchronization of frame windows is on (MDI).
      2  vertical synchronization of split windows is on.
      3  vertical synchronization of frame and split windows is on.
