Returns the range of lines which are currently visible to the user.
Only valid when the buffer is viewed.
The start box is filled with first line visible to the user, unless start is null. The end box is filled with last line visible to the user, unless end is null.