SourceCompletionProviderT.activateProposal

Activate proposal at iter. When this functions returns FALSE, the default activation of proposal will take place which replaces the word at iter with the text of proposal (see Source.completionProposalGetText).

Here is how the default activation selects the boundaries of the word to replace. The end of the word is iter. For the start of the word, it depends on whether a start iter is defined for proposal (see Source.completionProviderGetStartIter). If a start iter is defined, the start of the word is the start iter. Else, the word (as long as possible) will contain only alphanumerical and the "_" characters.

template SourceCompletionProviderT(TStruct)
bool
activateProposal

Parameters

proposal SourceCompletionProposalIF
iter TextIter

Return Value

Type: bool

TRUE to indicate that the proposal activation has been handled, FALSE otherwise.