Method InsertSelection
InsertSelection(Suggestion)
Called when the user confirms a selection at the current cursor location in the HostControl. The
accepted
string is the full autocomplete word to be inserted. Typically, a host will have to
remove some characters such that the accepted
string completes the word instead of simply being
appended.
protected virtual bool InsertSelection(Suggestion accepted)
Parameters
accepted
Suggestion
Returns
- bool
True if the insertion was possible otherwise false