robmcmullen / omnivore

Hex editor and debugging emulator, sponsored by the Player/Missile Podcast
Mozilla Public License 2.0
53 stars 7 forks source link

Remove comment broken #194

Closed robmcmullen closed 7 years ago

robmcmullen commented 7 years ago
Traceback (most recent call last):
  File "/noaa/maproom-deps/omnivore/omnivore8bit/ui/bytegrid.py", line 713, in on_right_down
    self.editor.popup_context_menu_from_actions(self, actions, popup_data)
  File "/noaa/maproom-deps/omnivore/omnivore/framework/editor.py", line 800, in popup_context_menu_from_actions
    action.perform(action_event)
  File "/noaa/maproom-deps/omnivore/omnivore8bit/hex_edit/actions.py", line 1049, in perform
    e.process_command(cmd)
  File "/noaa/maproom-deps/omnivore/omnivore/framework/editor.py", line 667, in process_command
    undo = self.process_batch_command(command, f, batch)
  File "/noaa/maproom-deps/omnivore/omnivore/framework/editor.py", line 680, in process_batch_command
    undo = self.document.undo_stack.perform(command, self, batch)
  File "/noaa/maproom-deps/omnivore/omnivore/utils/command.py", line 89, in perform
    cmd.perform(editor, undo_info)
  File "/noaa/maproom-deps/omnivore/omnivore/utils/command.py", line 330, in perform
    old_data = self.do_change(editor, undo_info)
  File "/noaa/maproom-deps/omnivore/omnivore8bit/hex_edit/commands.py", line 152, in do_change
    self.change_comments(ranges, indexes)
TypeError: change_comments() takes exactly 2 arguments (3 given)