diff options
Diffstat (limited to 'qutebrowser/components/caretcommands.py')
-rw-r--r-- | qutebrowser/components/caretcommands.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qutebrowser/components/caretcommands.py b/qutebrowser/components/caretcommands.py index 7b1eb47ea..8ab175012 100644 --- a/qutebrowser/components/caretcommands.py +++ b/qutebrowser/components/caretcommands.py @@ -183,7 +183,7 @@ def move_to_end_of_document(tab: apitypes.Tab) -> None: tab.caret.move_to_end_of_document() -@cmdutils.register(modes=[cmdutils.KeyMode.caret], deprecated_name='toggle-selection') +@cmdutils.register(modes=[cmdutils.KeyMode.caret]) @cmdutils.argument('tab', value=cmdutils.Value.cur_tab) def selection_toggle(tab: apitypes.Tab, line: bool = False) -> None: """Toggle caret selection mode. @@ -194,14 +194,14 @@ def selection_toggle(tab: apitypes.Tab, line: bool = False) -> None: tab.caret.toggle_selection(line) -@cmdutils.register(modes=[cmdutils.KeyMode.caret], deprecated_name='drop-selection') +@cmdutils.register(modes=[cmdutils.KeyMode.caret]) @cmdutils.argument('tab', value=cmdutils.Value.cur_tab) def selection_drop(tab: apitypes.Tab) -> None: """Drop selection and keep selection mode enabled.""" tab.caret.drop_selection() -@cmdutils.register(deprecated_name='follow-selected') +@cmdutils.register() @cmdutils.argument('tab_obj', value=cmdutils.Value.cur_tab) def selection_follow(tab_obj: apitypes.Tab, *, tab: bool = False) -> None: """Follow the selected text. @@ -215,7 +215,7 @@ def selection_follow(tab_obj: apitypes.Tab, *, tab: bool = False) -> None: raise cmdutils.CommandError(str(e)) -@cmdutils.register(modes=[cmdutils.KeyMode.caret], deprecated_name='reverse-selection') +@cmdutils.register(modes=[cmdutils.KeyMode.caret]) @cmdutils.argument('tab', value=cmdutils.Value.cur_tab) def selection_reverse(tab: apitypes.Tab) -> None: """Swap the stationary and moving end of the current selection.""" |