qutebrowser/tests/unit/completion
Ryan Roden-Corrent 808a645b40 Fix quick-complete highlighting quirk.
When the commandline reads ':open |', quick-completing the only offered
completion will set the commandline to ':open some_url |'. Since `open`
has `maxsplit=0`, everything after ':open' is (correctly) treated as
one argument. This means completion is opened again with 'some url '
as the pattern (note trailing whitespace), which makes the comletion
menu 'flicker' and stay open even though it was 'supposed' to quick
compelte.

This is fixed by ignoring the next completion request if we just
completed something after maxsplit (because we don't expect any more
completions after the last split).

Resolves #1519.
2016-09-12 22:19:44 -04:00
..
test_column_widths.py tests: Clean up test_column_widths 2016-08-20 22:08:07 +02:00
test_completer.py Fix quick-complete highlighting quirk. 2016-09-12 22:19:44 -04:00
test_completionwidget.py Add blank line 2016-09-01 07:09:06 +02:00
test_models.py Merge branch 'complete-hidden-commands' of https://github.com/rcorre/qutebrowser into rcorre-complete-hidden-commands 2016-08-10 15:38:46 +02:00
test_sortfilter.py *Really* fix completion with multiple words. 2016-09-09 09:03:18 +02:00