gtksource.types.CompletionActivation getActivation()
Gets the mode for which the context was activated.