Fix wrong/missing argument annotations
This commit is contained in:
parent
285db344b3
commit
a47ee08a84
@ -108,12 +108,14 @@ def move_to_prev_word(tab: apitypes.Tab, count: int = 1):
|
||||
|
||||
|
||||
@cmdutils.register(modes=[cmdutils.KeyMode.caret])
|
||||
@cmdutils.argument('tab', value=cmdutils.Value.cur_tab)
|
||||
def move_to_start_of_line(tab: apitypes.Tab):
|
||||
"""Move the cursor or selection to the start of the line."""
|
||||
tab.caret.move_to_start_of_line()
|
||||
|
||||
|
||||
@cmdutils.register(modes=[cmdutils.KeyMode.caret])
|
||||
@cmdutils.argument('tab', value=cmdutils.Value.cur_tab)
|
||||
def move_to_end_of_line(tab: apitypes.Tab):
|
||||
"""Move the cursor or selection to the end of line."""
|
||||
tab.caret.move_to_end_of_line()
|
||||
|
@ -226,7 +226,7 @@ def debug_webaction(tab, action, count=1):
|
||||
|
||||
|
||||
@cmdutils.register()
|
||||
@cmdutils.argument('tab', value=cmdutils.Value.cur_tab)
|
||||
@cmdutils.argument('tab', value=cmdutils.Value.count_tab)
|
||||
def tab_mute(tab):
|
||||
"""Mute/Unmute the current/[count]th tab.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user