E4XML/ShortcutsHandler.py

changeset 45
9a18f4dbb493
parent 13
1af94a91f439
equal deleted inserted replaced
44:fe5cd20cb0eb 45:9a18f4dbb493
43 43
44 def endName(self): 44 def endName(self):
45 """ 45 """
46 Handler method for the "Name" end tag. 46 Handler method for the "Name" end tag.
47 """ 47 """
48 self.name = self.utf8_to_code(self.buffer) 48 self.name = self.buffer
49 49
50 def endAccel(self): 50 def endAccel(self):
51 """ 51 """
52 Handler method for the "Accel" end tag. 52 Handler method for the "Accel" end tag.
53 """ 53 """
54 self.accel = self.unescape(self.utf8_to_code(self.buffer)) 54 self.accel = self.unescape(self.buffer)
55 55
56 def endAltAccel(self): 56 def endAltAccel(self):
57 """ 57 """
58 Handler method for the "AltAccel" end tag. 58 Handler method for the "AltAccel" end tag.
59 """ 59 """
60 self.altAccel = self.unescape(self.utf8_to_code(self.buffer)) 60 self.altAccel = self.unescape(self.buffer)
61 61
62 def startShortcut(self, attrs): 62 def startShortcut(self, attrs):
63 """ 63 """
64 Handler method for the "Shortcut" start tag. 64 Handler method for the "Shortcut" start tag.
65 65

eric ide

mercurial