void GetVisibleLineRange (long *start, long *end)
Returns the range of lines which are currently visible to the user. Either or both of start and end may be NULL;
Only valid when the buffer is viewed.