SourceCompletionProviderIF.getStartIter

Get the gtk.TextIter at which the completion for proposal starts. When implemented, this information is used to position the completion window accordingly when a proposal is selected in the completion window. The proposal text inside the completion window is aligned on iter.

If this function is not implemented, the word boundary is taken to position the completion window. See Source.completionProviderActivateProposal for an explanation on the word boundaries.

When the proposal is activated, the default handler uses iter as the start of the word to replace. See Source.completionProviderActivateProposal for more information.

interface SourceCompletionProviderIF
bool
getStartIter

Parameters

context SourceCompletionContext
proposal SourceCompletionProposalIF
iter TextIter

Return Value

Type: bool

TRUE if iter was set for proposal, FALSE otherwise.