Access the current line directly from the Document instance instead of calculating it manually
Access the current line directly from the Document instance instead of calculating it manually

dbcli/pgcli,dbcli/pgcli