1.1.4.4. completion_providers

This module contains classes for custom auto completion for GtkSourceCompletion. It provides support to recognize special characters and suggests syntax completion.

1.1.4.4.1. Functions

get_proposal_terms(search, tokens)[source]

Used to iterate through the search dictionary definition representing tokens for completion. Terms within this dictionary have a hierarchy to their definition in which keys are always terms represented as strings and values are either sub-dictionaries following the same pattern or None in the case that the term is a leaf node.

Parameters:
  • search (dict) – The dictionary to iterate through looking for proposals.
  • tokens (list, str) – List of tokens split on the hierarchy delimiter.
Returns:

A list of strings to be used for completion proposals.

Return type:

list

1.1.4.4.2. Classes

CustomCompletionProviderBase[source]

alias of king_phisher.utilities.

HTMLCompletionProvider[source]

alias of king_phisher.utilities.

JinjaCompletionProvider[source]

alias of king_phisher.utilities.

JinjaEmailCompletionProvider[source]

alias of king_phisher.utilities.

JinjaPageCompletionProvider[source]

alias of king_phisher.utilities.