def getFocus(self): Base.getFocus(self) self.selectPos = len(self.text) self.caretPos = len(self.text)
def getFocus(self): #print "edit losing focus" Base.getFocus(self)