branch : pmacs2
This commit is contained in:
moculus 2008-04-11 16:34:27 +00:00
parent 4fb18e31b4
commit 66b6021908
1 changed files with 8 additions and 0 deletions

View File

@ -77,6 +77,10 @@ class Hex(mode.Fundamental):
self.add_action_and_bindings(HexStartOfLine(), ('C-a', 'HOME',)) self.add_action_and_bindings(HexStartOfLine(), ('C-a', 'HOME',))
self.add_action_and_bindings(HexEndOfLine(), ('C-e', 'END',)) self.add_action_and_bindings(HexEndOfLine(), ('C-e', 'END',))
self.add_action_and_bindings(HexRead('char', 'b'), ('C-u b',))
self.add_action_and_bindings(HexRead('uchar', 'B'), ('C-u B',))
self.add_action_and_bindings(HexRead('short', 'h'), ('C-u h',))
self.add_action_and_bindings(HexRead('ushort', 'H'), ('C-u H',))
self.add_action_and_bindings(HexRead('int', 'i'), ('C-u i',)) self.add_action_and_bindings(HexRead('int', 'i'), ('C-u i',))
self.add_action_and_bindings(HexRead('uint', 'I'), ('C-u I',)) self.add_action_and_bindings(HexRead('uint', 'I'), ('C-u I',))
self.add_action_and_bindings(HexRead('long', 'l'), ('C-u l',)) self.add_action_and_bindings(HexRead('long', 'l'), ('C-u l',))
@ -84,6 +88,10 @@ class Hex(mode.Fundamental):
self.add_action_and_bindings(HexRead('float', 'f'), ('C-u f',)) self.add_action_and_bindings(HexRead('float', 'f'), ('C-u f',))
self.add_action_and_bindings(HexRead('double', 'd'), ('C-u d',)) self.add_action_and_bindings(HexRead('double', 'd'), ('C-u d',))
self.add_action_and_bindings(HexReadAligned('char', 'b'), ('C-c b',))
self.add_action_and_bindings(HexReadAligned('uchar', 'B'), ('C-c B',))
self.add_action_and_bindings(HexReadAligned('short', 'h'), ('C-c h',))
self.add_action_and_bindings(HexReadAligned('ushort', 'H'), ('C-c H',))
self.add_action_and_bindings(HexReadAligned('int', 'i'), ('C-c i',)) self.add_action_and_bindings(HexReadAligned('int', 'i'), ('C-c i',))
self.add_action_and_bindings(HexReadAligned('uint', 'I'), ('C-c I',)) self.add_action_and_bindings(HexReadAligned('uint', 'I'), ('C-c I',))
self.add_action_and_bindings(HexReadAligned('long', 'l'), ('C-c l',)) self.add_action_and_bindings(HexReadAligned('long', 'l'), ('C-c l',))