Remove first/last tab messages

This commit is contained in:
Slackhead 2018-04-08 10:31:12 +01:00
parent eb18f0a2ac
commit b7964d9baf
3 changed files with 0 additions and 21 deletions

View File

@ -240,8 +240,6 @@
|<<tabs.indicator.padding,tabs.indicator.padding>>|Padding (in pixels) for tab indicators.
|<<tabs.indicator.width,tabs.indicator.width>>|Width (in pixels) of the progress indicator (0 to disable).
|<<tabs.last_close,tabs.last_close>>|How to behave when the last tab is closed.
|<<tabs.mute_messages,tabs.mute_messages>>|Mute the First Tab and Last Tab
messages when wrap is False.
|<<tabs.min_width,tabs.min_width>>|Minimum width (in pixels) of tabs (-1 for the default minimum size behavior).
|<<tabs.mode_on_change,tabs.mode_on_change>>|When switching tabs, what input mode is applied.
|<<tabs.mousewheel_switching,tabs.mousewheel_switching>>|Switch between tabs using the mouse wheel.
@ -2872,14 +2870,6 @@ Valid values:
Default: +pass:[ignore]+
[[tabs.mute_messages]]
=== tabs.mute_messages
Mute First Tab and Last Tab messages when `tabs.wrap` is False.
Type: <<types,Bool>>
Default: +pass:[false]+
[[tabs.min_width]]
=== tabs.min_width
Minimum width (in pixels) of tabs (-1 for the default minimum size behavior).

View File

@ -1021,9 +1021,6 @@ class CommandDispatcher:
self._set_current_index(newidx)
elif config.val.tabs.wrap:
self._set_current_index(newidx % self._count())
else:
if not config.val.tabs.mute_messages:
raise cmdexc.CommandError("First tab")
@cmdutils.register(instance='command-dispatcher', scope='window')
@cmdutils.argument('count', count=True)
@ -1042,9 +1039,6 @@ class CommandDispatcher:
self._set_current_index(newidx)
elif config.val.tabs.wrap:
self._set_current_index(newidx % self._count())
else:
if not config.val.tabs.mute_messages:
raise cmdexc.CommandError("Last tab")
def _resolve_buffer_index(self, index):
"""Resolve a buffer index to the tabbedbrowser and tab.

View File

@ -1458,11 +1458,6 @@ tabs.wrap:
type: Bool
desc: Wrap when changing tabs.
tabs.mute_messages:
default: false
type: Bool
desc: Mute the First Tab and Last Tab messages when wrap is set to False.
## url
url.auto_search: