summaryrefslogtreecommitdiff
path: root/qutebrowser/components
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-03-11 19:44:37 +0100
committerFlorian Bruhin <me@the-compiler.org>2021-03-11 19:44:37 +0100
commit6bf804538432f2badb72e391aafdaf17d3f765a8 (patch)
tree98184f73d7a73f465fc22bd9b4785f95c24933fc /qutebrowser/components
parent78fe7ffcf22bf025bbb14422b6f1919cf9284fb2 (diff)
downloadqutebrowser-6bf804538432f2badb72e391aafdaf17d3f765a8.tar.gz
qutebrowser-6bf804538432f2badb72e391aafdaf17d3f765a8.zip
Revert "Add deprecated aliases for renamed commands"
This reverts commit 8976e6850317881ed1aebed55a273e73c17a50bd.
Diffstat (limited to 'qutebrowser/components')
-rw-r--r--qutebrowser/components/caretcommands.py8
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."""