|
| Graphics.UI.Gtk.SourceView.SourceCompletionProvider | | Portability | portable (depends on GHC) | | Stability | provisional | | Maintainer | gtk2hs-users@lists.sourceforge.net |
|
|
|
|
|
| Description |
|
|
| Synopsis |
|
|
|
|
| Description
|
|
| You must implement this interface to provide proposals to SourceCompletion
|
|
| Types
|
|
| data SourceCompletionProvider | Source |
|
Instances | |
|
|
|
| Instances | |
|
|
| Methods
|
|
| sourceCompletionProviderGetName | Source |
|
|
|
|
| Get the icon of the provider.
|
|
| sourceCompletionProviderGetInteractiveDelay | Source |
|
| :: SourceCompletionProviderClass scp | | | => scp | | | -> IO Int | returns the interactive delay in milliseconds.
| | Get the delay in milliseconds before starting interactive completion for this provider. A value of
-1 indicates to use the default value as set by autoCompleteDelay.
|
|
|
| sourceCompletionProviderGetPriority | Source |
|
| :: SourceCompletionProviderClass scp | | | => scp | | | -> IO Int | returns the provider priority.
| | Get the provider priority. The priority determines the order in which proposals appear in the
completion popup. Higher priorities are sorted before lower priorities. The default priority is 0.
|
|
|
| sourceCompletionProviderGetInfoWidget | Source |
|
|
|
|
| Get with what kind of activation the provider should be activated.
|
|
|
| Get the TextIter at which the completion for proposal starts. When implemented, the completion
can use this information to position the completion window accordingly when a proposal is selected
in the completion window.
|
|
| sourceCompletionProviderMatch | Source |
|
|
|
|
| Update extra information shown in info for proposal. This should be implemented if your provider
sets a custom info widget for proposal. This function MUST be implemented when
sourceCompletionProviderGetInfoWidget is implemented.
|
|
|
| Populate context with proposals from provider
|
|
| sourceCompletionProviderActivateProposal | Source |
|
|
|
| Produced by Haddock version 2.6.1 |