Given a graphical location in the buffer, returns the line at that location. Lines are numbered starting with 0.
The result is only valid when the buffer is viewed (see Basic Organization). Calling this method may force the recalculation of location information, even if the buffer currently has delayed refreshing (see refresh-delayed?).
The on-it? box is filled with #t if the line actually touches this position, or #f otherwise, unless on-it? is null. (A large enough y will always return the last line number, but will set onit to #f.)