def onFocusGained(self): Widget.onFocusGained(self) self.cursorPos = len(self.text)
def onFocusGained(self): Widget.onFocusGained(self) self.cursorRow = len(self.text) - 1 self.cursorColumn = len(self.text[self.cursorRow])