Filter buffer completion by all columns.
In addition to the url and text column, also filter by the index column so the user can enter a number to navigate to that tab. Resolves #1830.
This commit is contained in:
parent
85a4dc808e
commit
1de465f42b
@ -148,7 +148,8 @@ class TabCompletionModel(base.BaseCompletionModel):
|
||||
def __init__(self, parent=None):
|
||||
super().__init__(parent)
|
||||
|
||||
self.columns_to_filter = [self.URL_COLUMN, self.TEXT_COLUMN]
|
||||
self.columns_to_filter = [self.IDX_COLUMN, self.URL_COLUMN,
|
||||
self.TEXT_COLUMN]
|
||||
|
||||
for win_id in objreg.window_registry:
|
||||
tabbed_browser = objreg.get('tabbed-browser', scope='window',
|
||||
|
Loading…
Reference in New Issue
Block a user