Fixed checks in Text#getLine

With the current check, we can never get the first line if it isn't the current line (since `!0` is `true`).