euporie.core.bars.command
Define the global command toolbar.
Functions
|
Add a command to the centralized command system. |
|
Get the current active (running) Application. |
|
Get a command from the centralized command system by name. |
|
Enable when this buffer has the focus. |
|
Assign key-bindings to commands based on a dictionary. |
|
Least-recently-used cache decorator. |
|
Update the key-binding registry. |
Classes
|
Insert text before the input. |
|
The core data structure that holds the text and cursor position of the current input line and implements all text manipulations on top of it. |
|
Control for visualizing the content of a |
Command mode toolbar. |
|
Completer of commands. |
|
Base class for completer implementations. |
|
|
|
|
Wrapper around any other container that can change the visibility. |
Base class for user interface layout. |
|
Processor that highlights the selection in the document. |
|
|
|
|
Lexer that doesn't do any tokenizing and returns the whole input as one token. |
Abstract base class for an input validator. |
|
|
Container that holds a control. |
- class euporie.core.bars.command.CommandBar
Bases:
object
Command mode toolbar.
A modal editor like toolbar to allow entry of commands.
- class euporie.core.bars.command.CommandCompleter
Bases:
Completer
Completer of commands.
- get_completions(document: Document, complete_event: CompleteEvent) Iterable[Completion]
Complete registered commands.
- async get_completions_async(document: Document, complete_event: CompleteEvent) AsyncGenerator[Completion, None]
Asynchronous generator for completions. (Probably, you won’t have to override this.)
Asynchronous generator of
Completion
objects.