parent
e65626904e
commit
17220dc14d
|
@ -20,12 +20,16 @@ class HexSetByteOrder(Method):
|
|||
class HexForward(Method):
|
||||
def _execute(self, w, **vargs):
|
||||
w.forward()
|
||||
if w.mode.symbolic_edit:
|
||||
w.forward()
|
||||
end = w.buffer.get_buffer_end()
|
||||
while w.cursor_char().isspace() and w.cursor < end:
|
||||
w.forward()
|
||||
class HexBackward(Method):
|
||||
def _execute(self, w, **vargs):
|
||||
w.backward()
|
||||
if w.mode.symbolic_edit:
|
||||
w.backward()
|
||||
start = w.buffer.get_buffer_start()
|
||||
while w.cursor_char().isspace() and w.cursor > start:
|
||||
w.backward()
|
||||
|
|
Loading…
Reference in New Issue