branch : pmacs2
This commit is contained in:
moculus 2009-03-24 21:44:07 +00:00
parent 8a978c7104
commit 35f9a6601b
1 changed files with 0 additions and 5 deletions

View File

@ -124,15 +124,10 @@ class HexOverwriteChar(Method):
ix = b.cursorx_to_datax(cy, cx) ix = b.cursorx_to_datax(cy, cx)
if ix is None: if ix is None:
return return
lm1 = w.mode.lmargin
cx2 = w.buffer.datax_to_cursorx(ix) cx2 = w.buffer.datax_to_cursorx(ix)
w.goto(Point(cx2, cy)) w.goto(Point(cx2, cy))
lm2 = w.mode.lmargin
w.overwrite_char_at_cursor(self.part1) w.overwrite_char_at_cursor(self.part1)
lm3 = w.mode.lmargin
w.overwrite_char_at_cursor(self.part2) 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: elif self.char not in string.hexdigits:
return return
else: else: