CompletionProvider.getPriority

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.

interface CompletionProvider
int
getPriority

Parameters

context gtksource.completion_context.CompletionContext

a #GtkSourceCompletionContext

Return Value

Type: int