Update docs
This commit is contained in:
parent
d92cdb05b1
commit
012f11ab31
|
|
@ -27,6 +27,7 @@ Added
|
|||
new page is loaded.
|
||||
* `colors.completion.item.selected.match.fg` which allows configuring the
|
||||
text color for the matching text in the currently selected completion item.
|
||||
* `tabs.undo_stack_size` to limit how many undo entries are kept for closed tabs.
|
||||
- New commands:
|
||||
* `:reverse-selection` (`o` in caret mode) to swap the stationary/moving ends
|
||||
of a selection.
|
||||
|
|
|
|||
|
|
@ -282,6 +282,7 @@
|
|||
|<<tabs.title.alignment,tabs.title.alignment>>|Alignment of the text inside of tabs.
|
||||
|<<tabs.title.format,tabs.title.format>>|Format to use for the tab title.
|
||||
|<<tabs.title.format_pinned,tabs.title.format_pinned>>|Format to use for the tab title for pinned tabs. The same placeholders like for `tabs.title.format` are defined.
|
||||
|<<tabs.undo_stack_size,tabs.undo_stack_size>>|Number of close tab actions to remember, per window (-1 for no maximum).
|
||||
|<<tabs.width,tabs.width>>|Width (in pixels or as percentage of the window) of the tab bar if it's vertical.
|
||||
|<<tabs.wrap,tabs.wrap>>|Wrap when changing tabs.
|
||||
|<<url.auto_search,url.auto_search>>|What search to start when something else than a URL is entered.
|
||||
|
|
@ -3536,6 +3537,14 @@ Type: <<types,FormatString>>
|
|||
|
||||
Default: +pass:[{index}]+
|
||||
|
||||
[[tabs.undo_stack_size]]
|
||||
=== tabs.undo_stack_size
|
||||
Number of close tab actions to remember, per window (-1 for no maximum).
|
||||
|
||||
Type: <<types,Int>>
|
||||
|
||||
Default: +pass:[100]+
|
||||
|
||||
[[tabs.width]]
|
||||
=== tabs.width
|
||||
Width (in pixels or as percentage of the window) of the tab bar if it's vertical.
|
||||
|
|
|
|||
|
|
@ -132,7 +132,8 @@ class TabbedBrowser(QWidget):
|
|||
else:
|
||||
self.cur_load_started.connect(self._leave_modes_on_load)
|
||||
|
||||
# This init is never used, it is immediately thrown away in the next line.
|
||||
# This init is never used, it is immediately thrown away in the next
|
||||
# line.
|
||||
self._undo_stack = collections.deque()
|
||||
self._update_stack_size()
|
||||
self._filter = signalfilter.SignalFilter(win_id, self)
|
||||
|
|
|
|||
Loading…
Reference in New Issue