qutebrowser/qutebrowser
Jimmy 32edd35c7a buffer completion: handle deleting items see issue #1443
Allows to use ctrl+d to close tabs from the buffer completion widget
when they are selected. Respects current tab settings like whether you
can close the last tab in a window.

Had to change the `rebuild()` method to use `setData()` when possible
because the selection was being lost if the whole model was being rebuilt.

Current problems are:

1) When opening a new window while you already the tab completion open on
   one window a category is added for the new window but new rows in
   that category aren't picked up. Interesting if you open a third
   window then close the second window the completion display is now
   correct... I can see that the model is being updated correctly but I
   am not sure why that isn't propagating to the view. Not sure whether
   it is worth looking into (further) either.

2) Bit of duplication of code, it iterates over the window registry
   twice. Could put everything in one loop but then that would be
   dependant on the current behaviour of the `tab_closed` signal being
   called with the relevant `tabbed_browser` still existing but with the
   `shutting_down` flag set.

3) I'm still using just the one `rebuild()` method and removing items from
   the end then calling `setData` on everything rather than having special
   `on_tab/window_closed` methods (or partial functions) that delete the
   actual corresponding item. Because if I did that I would also have to
   special case tab moves etc.
2016-04-23 02:55:53 +12:00
..
browser Merge branch 'marks' of https://github.com/rcorre/qutebrowser into rcorre-marks 2016-04-21 20:05:41 +02:00
commands Allow {url:pretty} variable in commands 2016-04-19 16:37:05 +03:00
completion buffer completion: handle deleting items see issue #1443 2016-04-23 02:55:53 +12:00
config Merge branch 'marks' of https://github.com/rcorre/qutebrowser into rcorre-marks 2016-04-21 20:05:41 +02:00
html dirbrowser: ditch .lstrip, add file_url function 2016-03-28 23:10:20 +02:00
img New qutebrowser logo! 2016-04-14 17:44:38 +02:00
javascript js: Fix more lint. 2015-05-12 07:16:16 +02:00
keyinput Fix accidental double-import 2016-04-21 23:12:54 +02:00
mainwindow Small fixes for marks. 2016-04-19 08:28:02 -04:00
misc Don't crash if data is None while saving session 2016-04-10 17:47:14 +02:00
utils Add set_mark and jump_mark modes. 2016-04-17 21:04:08 -04:00
__init__.py Release v0.6.1 2016-04-10 21:25:32 +02:00
__main__.py Adjust copyright years. 2016-01-04 07:12:39 +01:00
app.py Open command line urls explicitly. 2016-04-15 18:50:42 +10:00
qutebrowser.py Specify valid loglevels for --loglevel/-l 2016-03-08 17:38:26 +01:00
resources.py Regenerate resources 2016-04-14 17:59:28 +02:00