Gets the line number (starting from 0) for the first line that is user visible.
a line number starting from 0