s/command_item/completion_item/
This commit is contained in:
parent
2d0225a292
commit
43c8a96621
@ -462,8 +462,8 @@ DATA = OrderedDict([
|
|||||||
('<Escape>', 'leave_mode'),
|
('<Escape>', 'leave_mode'),
|
||||||
('<Up>', 'command_history_prev'),
|
('<Up>', 'command_history_prev'),
|
||||||
('<Down>', 'command_history_next'),
|
('<Down>', 'command_history_next'),
|
||||||
('<Shift-Tab>', 'command_item_prev'),
|
('<Shift-Tab>', 'completion_item_prev'),
|
||||||
('<Tab>', 'command_item_next'),
|
('<Tab>', 'completion_item_next'),
|
||||||
('<Return>', 'command_accept'),
|
('<Return>', 'command_accept'),
|
||||||
)),
|
)),
|
||||||
|
|
||||||
|
@ -298,12 +298,12 @@ class CompletionView(QTreeView):
|
|||||||
selmod.clearCurrentIndex()
|
selmod.clearCurrentIndex()
|
||||||
|
|
||||||
@cmdutils.register(instance='mainwindow.completion', hide=True)
|
@cmdutils.register(instance='mainwindow.completion', hide=True)
|
||||||
def command_item_prev(self):
|
def completion_item_prev(self):
|
||||||
"""Select the previous completion item."""
|
"""Select the previous completion item."""
|
||||||
self._next_prev_item(prev=True)
|
self._next_prev_item(prev=True)
|
||||||
|
|
||||||
@cmdutils.register(instance='mainwindow.completion', hide=True)
|
@cmdutils.register(instance='mainwindow.completion', hide=True)
|
||||||
def command_item_next(self):
|
def completion_item_next(self):
|
||||||
"""Select the next completion item."""
|
"""Select the next completion item."""
|
||||||
self._next_prev_item(prev=False)
|
self._next_prev_item(prev=False)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user