+ def delete(self):
+ self.text = self.text[:self.currPos] + self.text[self.currPos + 1:]
+ self.update()
+
+ def handleAscii(self, code):
+ newChar = chr(code)
+ self.text = self.text[0:self.currPos] + newChar + self.text[self.currPos + 1:]
+ self.right()
+ self.update()
+