'Override Qt method'

def mousePressEvent(self, event):

    vsb = self.editor.verticalScrollBar()
    value = self.position_to_value((event.pos().y() - 1))
    vsb.setValue((value - (0.5 * vsb.pageStep())))
