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