getPriority

open fun getPriority(context: CompletionContext): <Error class: unknown class>

This function should return the priority of @self in @context.

The priority is used to sort groups of completion proposals by provider so that higher priority providers results are shown above lower priority providers.

Higher value indicates higher priority.

Parameters

context

a #GtkSourceCompletionContext