From 35f9a6601bb3f0dacdfaa56d71045915b163235b Mon Sep 17 00:00:00 2001 From: moculus Date: Tue, 24 Mar 2009 21:44:07 +0000 Subject: [PATCH] --HG-- branch : pmacs2 --- mode/hex.py | 5 ----- 1 file changed, 5 deletions(-) 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: