@property
    def current_line_after_cursor(self):
        text, _, _ = self.text_after_cursor.partition('\n')
        return text
Text from the cursor until the end of the line.
dataset/ETHPy150Open jonathanslenders/python-prompt-toolkit/prompt_toolkit/document.py/Document.current_line_after_cursor