Ensure that the parameters for Document.translate_row_col_to_index are >=0.
Ensure that the parameters for Document.translate_row_col_to_index are >=0.

melund/python-prompt-toolkit,jonathanslenders/python-prompt-toolkit