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: Returns: A list of strings to be used for completion proposals.
Return type: