enums.py 792 B

1234567891011121314151617181920212223242526272829
  1. from __future__ import unicode_literals
  2. class IncrementalSearchDirection(object):
  3. FORWARD = 'FORWARD'
  4. BACKWARD = 'BACKWARD'
  5. class EditingMode(object):
  6. # The set of key bindings that is active.
  7. VI = 'VI'
  8. EMACS = 'EMACS'
  9. #: Name of the search buffer.
  10. SEARCH_BUFFER = 'SEARCH_BUFFER'
  11. #: Name of the default buffer.
  12. DEFAULT_BUFFER = 'DEFAULT_BUFFER'
  13. #: Name of the system buffer.
  14. SYSTEM_BUFFER = 'SYSTEM_BUFFER'
  15. # Dummy buffer. This is the buffer returned by
  16. # `CommandLineInterface.current_buffer` when the top of the `FocusStack` is
  17. # `None`. This could be the case when there is some widget has the focus and no
  18. # actual text editing is possible. This buffer should also never be displayed.
  19. # (It will never contain any actual text.)
  20. DUMMY_BUFFER = 'DUMMY_BUFFER'