Returns the first position of the given line.
If the line starts with invisible items and visible? is not #f, the invisble items are skipped over.