setProposalsForProvider

open fun setProposalsForProvider(provider: CompletionProvider, results: <Error class: unknown class>? = null)

This function allows providers to update their results for a context outside of a call to method@CompletionProvider.populate_async.

This can be used to immediately return results for a provider while it does additional asynchronous work. Doing so will allow the completions to update while the operation is in progress.

Parameters

provider

an #GtkSourceCompletionProvider

results

a #GListModel or null