'Override Qt method.
Show code analisis, if left button pressed select lines.'

def mouseMoveEvent(self, event):

    line_number = self.editor.get_linenumber_from_mouse_event(event)
    block = self.editor.document().findBlockByNumber((line_number - 1))
    data = block.userData()
    check = (self._released == (-1))
    if (data and data.code_analysis and check):
        self.editor.show_code_analysis_results(line_number, data.code_analysis)
    if (event.buttons() == Qt.LeftButton):
        self._released = line_number
        self.editor.select_lines(self._pressed, self._released)
