qutebrowser/qutebrowser/config
Niklas Haas 1b5664b72f Add --cycle flag to :set
Chooses the next value from the provided list of values (string-wise
comparison). Technically, the 'option!' syntax for toggling bools is now
redundant, but a translation from 'option!' to '--cycle option false
true' is kept for backwards compatibility.

The '--cycle' flag could also be technically optionally, since the only
thing that depends on it is preserving the error message for specifying
multiple values. (But I think it's best to keep it explicit, as a
principle-of-least-surprise thing)

Note: The business logic of picking the next value and setting it was
moved out to a separate function to avoid tripping pylint's
too-many-branches detector.

Fixes #47
2016-11-24 07:22:06 +01:00
..
parsers Lowercase special keys when checking if they're new 2016-11-23 12:37:19 +01:00
__init__.py Adjust copyright years. 2016-01-04 07:12:39 +01:00
config.py Add --cycle flag to :set 2016-11-24 07:22:06 +01:00
configdata.py Add --enable-webengine-inspector option 2016-11-23 08:12:13 +01:00
configexc.py QtWebEngine: Basic settings support 2016-08-03 11:35:08 +02:00
configtypes.py Fix lint 2016-11-15 23:41:53 +01:00
sections.py Use iter instead of __iter__. 2016-06-30 07:26:02 -04:00
style.py Remove generated stylesheets again 2016-11-03 08:40:41 +01:00
textwrapper.py Adjust copyright years. 2016-01-04 07:12:39 +01:00
value.py QtWebEngine: Basic settings support 2016-08-03 11:35:08 +02:00
websettings.py Pass arguments to websettings init functions 2016-11-23 07:57:35 +01:00