diff options
author | Ivan Blinkov <ivan@blinkov.ru> | 2022-02-10 16:47:10 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:10 +0300 |
commit | 1aeb9a455974457866f78722ad98114bafc84e8a (patch) | |
tree | e4340eaf1668684d83a0a58c36947c5def5350ad /contrib/python/prompt-toolkit/py2/prompt_toolkit/enums.py | |
parent | bd5ef432f5cfb1e18851381329d94665a4c22470 (diff) | |
download | ydb-1aeb9a455974457866f78722ad98114bafc84e8a.tar.gz |
Restoring authorship annotation for Ivan Blinkov <ivan@blinkov.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/python/prompt-toolkit/py2/prompt_toolkit/enums.py')
-rw-r--r-- | contrib/python/prompt-toolkit/py2/prompt_toolkit/enums.py | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/contrib/python/prompt-toolkit/py2/prompt_toolkit/enums.py b/contrib/python/prompt-toolkit/py2/prompt_toolkit/enums.py index 6945f44c960..a45060f27a6 100644 --- a/contrib/python/prompt-toolkit/py2/prompt_toolkit/enums.py +++ b/contrib/python/prompt-toolkit/py2/prompt_toolkit/enums.py @@ -1,29 +1,29 @@ -from __future__ import unicode_literals - - -class IncrementalSearchDirection(object): - FORWARD = 'FORWARD' - BACKWARD = 'BACKWARD' - - +from __future__ import unicode_literals + + +class IncrementalSearchDirection(object): + FORWARD = 'FORWARD' + BACKWARD = 'BACKWARD' + + class EditingMode(object): # The set of key bindings that is active. VI = 'VI' EMACS = 'EMACS' -#: Name of the search buffer. -SEARCH_BUFFER = 'SEARCH_BUFFER' - -#: Name of the default buffer. -DEFAULT_BUFFER = 'DEFAULT_BUFFER' - -#: Name of the system buffer. -SYSTEM_BUFFER = 'SYSTEM_BUFFER' - -# Dummy buffer. This is the buffer returned by -# `CommandLineInterface.current_buffer` when the top of the `FocusStack` is -# `None`. This could be the case when there is some widget has the focus and no -# actual text editing is possible. This buffer should also never be displayed. -# (It will never contain any actual text.) -DUMMY_BUFFER = 'DUMMY_BUFFER' +#: Name of the search buffer. +SEARCH_BUFFER = 'SEARCH_BUFFER' + +#: Name of the default buffer. +DEFAULT_BUFFER = 'DEFAULT_BUFFER' + +#: Name of the system buffer. +SYSTEM_BUFFER = 'SYSTEM_BUFFER' + +# Dummy buffer. This is the buffer returned by +# `CommandLineInterface.current_buffer` when the top of the `FocusStack` is +# `None`. This could be the case when there is some widget has the focus and no +# actual text editing is possible. This buffer should also never be displayed. +# (It will never contain any actual text.) +DUMMY_BUFFER = 'DUMMY_BUFFER' |