diff --git a/mode/hex.py b/mode/hex.py index c9e8255..bbfa932 100644 --- a/mode/hex.py +++ b/mode/hex.py @@ -124,15 +124,10 @@ class HexOverwriteChar(Method): ix = b.cursorx_to_datax(cy, cx) if ix is None: return - lm1 = w.mode.lmargin cx2 = w.buffer.datax_to_cursorx(ix) w.goto(Point(cx2, cy)) - lm2 = w.mode.lmargin w.overwrite_char_at_cursor(self.part1) - lm3 = w.mode.lmargin w.overwrite_char_at_cursor(self.part2) - lm4 = w.mode.lmargin - w.set_error('%r/%r/%r/%r' % (lm1, lm2, lm3, lm4)) elif self.char not in string.hexdigits: return else: