TEPinScroll
TEPinScroll scroll text within its view rectangle, stop at end
#include <TextEdit.h> TextEdit
void TEPinScroll(dHoriz , dVert, hTE );
short dHoriz ; distance ( pixels); <0 is left; >0 is right
short dVert ; distance ( pixels); <0 is up; >0 is down
TEHandle hTE ; handle of an edit record
TEPinScroll scrolls the text of the edit record by a specified number of
pixels in any direction, exactly as with TEScroll, except that the scrolling
will stop when the last line has scrolled into the viewing rectangle.
dHoriz is the number of pixels to scroll the text horizontally. Positive
values scroll the text toward the right side; negative values scroll the
text toward the left.
dVert is the number of pixels to scroll the text vertically. Positive values
scroll the text toward the bottom of the screen; negative values scroll
the text toward the top.
hTE is a handle obtained via TENew (old style TextEdit record) or
TEStylNew (new style TextEdit record). It leads to a
variable-length TERec structure and identifies the edit record to be
affected by this change.
Returns: none