def mouseClick(self, paneRow, paneCol, shift, ctrl, alt):
    if ctrl:
        app.log.info(u'click at', paneRow, paneCol)
        return
    self.host.changeFocusTo(self.host)
    tb = self.host.textBuffer
    if ((self.host.scrollRow + paneRow) >= len(tb.lines)):
        tb.selectionNone()
        return
    if shift:
        if (tb.selectionMode == app.selectable.kSelectionNone):
            tb.selectionLine()
        self.mouseRelease(paneRow, paneCol, shift, ctrl, alt)
    else:
        tb.cursorMoveAndMark(((self.host.scrollRow + paneRow) - tb.penRow), 0, ((self.host.scrollRow + paneRow) - tb.markerRow), 0, (app.selectable.kSelectionNone - tb.selectionMode))
        self.mouseRelease(paneRow, paneCol, shift, ctrl, alt)
def mouseClick(self, paneRow, paneCol, shift, ctrl, alt):
    if ctrl:
        app.log.info(u'click at', paneRow, paneCol)
        return
    self.host.changeFocusTo(self.host)
    tb = self.host.textBuffer
    if ((self.host.scrollRow + paneRow) >= len(tb.lines)):
        tb.selectionNone()
        return
    if shift:
        if (tb.selectionMode == app.selectable.kSelectionNone):
            tb.selectionLine()
        self.mouseRelease(paneRow, paneCol, shift, ctrl, alt)
    else:
        tb.cursorMoveAndMark(((self.host.scrollRow + paneRow) - tb.penRow), 0, ((self.host.scrollRow + paneRow) - tb.markerRow), 0, (app.selectable.kSelectionNone - tb.selectionMode))
        self.mouseRelease(paneRow, paneCol, shift, ctrl, alt)