'Override Qt method.
Add or remove breakpoints.'

def mouseDoubleClickEvent(self, event):

    line_number = self.editor.get_linenumber_from_mouse_event(event)
    shift = (event.modifiers() & Qt.ShiftModifier)
    self.editor.add_remove_breakpoint(line_number, edit_condition=shift)
