Corrected the View.line property to show give correct results when the cursor is positioned at the end of a line.