Construct a new completion handler for a widget.
Make a completion request.
If completion request fails, reset model and fail silently.
Receive completion items from provider.
Receive a completion reply from the connector.
Updates model with text state and current cursor position.
The completer widget managed by the handler.
The data connector used to populate completion requests.
The data connector used to populate completion requests.
The editor used by the completion handler.
The editor used by the completion handler.
Get whether the completion handler is disposed.
Dispose of the resources used by the handler.
Get the state of the text editor at the given position.
Invoke the handler and launch a completer.
Handle a completion selected signal from the completion widget.
Handle invoke-request
messages.
Handle selection changed signal from an editor.
If a sub-class reimplements this method, then that class must either call its super method or it must take responsibility for adding and removing the completer completable class to the editor host node.
Despite the fact that the editor widget adds a class whenever there is a primary selection, this method checks independently for two reasons:
jp-mod-has-primary-selection
to filter out any editors that have
a selection means the semantic meaning of jp-mod-completer-enabled
is obscured because there may be cases where the enabled class is added
even though the completer is not available.Handle a text changed signal from an editor.
Handle a visibility change signal from a completer widget.
Process a message sent to the completion handler.
Generated using TypeDoc
A completion handler for editors.