def _get_line_end_cursor(self):
        """ Get a cursor at the last character of the current line.
        """
        cursor = self._control.textCursor()
        cursor.movePosition(QtGui.QTextCursor.EndOfLine)
        return cursor
 Get a cursor at the last character of the current line.
        
angrmanagement/vendor/qtconsole/console_widget.py