'Gets the text of the specified line.
:param line_nbr: The line number of the text to get
:return: Entire line\'s text
:rtype: str'

def line_text(self, line_nbr):

    doc = self._editor.document()
    block = doc.findBlockByNumber(line_nbr)
    return block.text()
