Revert "Make jk keys usable in RHS column (patch by ef.tools@gmx.com)"
This reverts commit 95ae6467d1
.
This commit is contained in:
parent
95ae6467d1
commit
2d28b9fad9
@ -803,12 +803,6 @@ class DebuggerUI(FrameVarInfoKeeper):
|
|||||||
|
|
||||||
self.update_var_view()
|
self.update_var_view()
|
||||||
|
|
||||||
def move_down(w, size, key):
|
|
||||||
w.keypress(size, "down")
|
|
||||||
|
|
||||||
def move_up(w, size, key):
|
|
||||||
w.keypress(size, "up")
|
|
||||||
|
|
||||||
def insert_watch(w, size, key):
|
def insert_watch(w, size, key):
|
||||||
watch_edit = urwid.Edit([
|
watch_edit = urwid.Edit([
|
||||||
("label", "Watch expression: ")
|
("label", "Watch expression: ")
|
||||||
@ -829,8 +823,6 @@ class DebuggerUI(FrameVarInfoKeeper):
|
|||||||
fvi.watches.append(we)
|
fvi.watches.append(we)
|
||||||
self.update_var_view()
|
self.update_var_view()
|
||||||
|
|
||||||
self.var_list.listen("j", move_down)
|
|
||||||
self.var_list.listen("k", move_up)
|
|
||||||
self.var_list.listen("\\", change_var_state)
|
self.var_list.listen("\\", change_var_state)
|
||||||
self.var_list.listen("t", change_var_state)
|
self.var_list.listen("t", change_var_state)
|
||||||
self.var_list.listen("r", change_var_state)
|
self.var_list.listen("r", change_var_state)
|
||||||
@ -865,8 +857,6 @@ class DebuggerUI(FrameVarInfoKeeper):
|
|||||||
def move_stack_down(w, size, key):
|
def move_stack_down(w, size, key):
|
||||||
self.debugger.move_down_frame()
|
self.debugger.move_down_frame()
|
||||||
|
|
||||||
self.stack_list.listen("j", move_down)
|
|
||||||
self.stack_list.listen("k", move_up)
|
|
||||||
self.stack_list.listen("H", move_stack_top)
|
self.stack_list.listen("H", move_stack_top)
|
||||||
self.stack_list.listen("u", move_stack_up)
|
self.stack_list.listen("u", move_stack_up)
|
||||||
self.stack_list.listen("d", move_stack_down)
|
self.stack_list.listen("d", move_stack_down)
|
||||||
@ -974,8 +964,6 @@ class DebuggerUI(FrameVarInfoKeeper):
|
|||||||
else:
|
else:
|
||||||
self.update_breakpoints()
|
self.update_breakpoints()
|
||||||
|
|
||||||
self.bp_list.listen("j", move_down)
|
|
||||||
self.bp_list.listen("k", move_up)
|
|
||||||
self.bp_list.listen("enter", examine_breakpoint)
|
self.bp_list.listen("enter", examine_breakpoint)
|
||||||
self.bp_list.listen("d", delete_breakpoint)
|
self.bp_list.listen("d", delete_breakpoint)
|
||||||
self.bp_list.listen("s", save_breakpoints)
|
self.bp_list.listen("s", save_breakpoints)
|
||||||
@ -1079,6 +1067,11 @@ class DebuggerUI(FrameVarInfoKeeper):
|
|||||||
lineno = min(max(0, int(lineno_edit.value())-1), len(self.source)-1)
|
lineno = min(max(0, int(lineno_edit.value())-1), len(self.source)-1)
|
||||||
self.source.set_focus(lineno)
|
self.source.set_focus(lineno)
|
||||||
|
|
||||||
|
def move_down(w, size, key):
|
||||||
|
w.keypress(size, "down")
|
||||||
|
|
||||||
|
def move_up(w, size, key):
|
||||||
|
w.keypress(size, "up")
|
||||||
|
|
||||||
def page_down(w, size, key):
|
def page_down(w, size, key):
|
||||||
w.keypress(size, "page down")
|
w.keypress(size, "page down")
|
||||||
|
Loading…
Reference in New Issue
Block a user