gtksourceview3-0.13.3.1: Binding to the GtkSourceView library.

Maintainergtk2hs-users@lists.sourceforge.net
Stabilityprovisional
Portabilityportable (depends on GHC)
Safe HaskellNone
LanguageHaskell98

Graphics.UI.Gtk.SourceView.SourceCompletionContext

Contents

Description

 

Synopsis

Types

Enums

data SourceCompletionActivation Source #

Methods

sourceCompletionContextAddProposals Source #

Arguments

:: (SourceCompletionContextClass scc, SourceCompletionProviderClass scp) 
=> scc 
-> scp 
-> [SourceCompletionProposal]

proposals The list of proposals to add

-> Bool

finished Whether the provider is finished adding proposals

-> IO () 

Providers can use this function to add proposals to the completion. They can do so asynchronously by means of the finished argument. Providers must ensure that they always call this function with finished set to True once each population (even if no proposals need to be added).

sourceCompletionContextGetIter :: SourceCompletionContextClass scc => scc -> IO TextIter Source #

Get the iter at which the completion was invoked. Providers can use this to determine how and if to match proposals.

Attributes

Signals

sourceCompletionContextCancelled :: SourceCompletionContextClass scc => Signal scc (IO ()) Source #

Emitted when the current population of proposals has been cancelled. Providers adding proposals asynchronously should connect to this signal to know when to cancel running proposal queries.