CompletionProvider.listAlternates
gtksource.completion_proposal.CompletionProposal[] listAlternates(gtksource.completion_context.CompletionContext context, gtksource.completion_proposal.CompletionProposal proposal)Providers should return a list of alternates to proposal or null if there are no alternates available.
This can be used by the completion view to allow the user to move laterally through similar proposals, such as overrides of methods by the same name.
Parameters
context | a #GtkSourceCompletionContext |
proposal | a #GtkSourceCompletionProposal |
Returns
a #GPtrArray of #GtkSourceCompletionProposal or null.