Trying to use ICompletionFilter implementation to filter the IntelliPrompt completion list. To check if this works I've implemented the Filter method which attempts to filter out any items in the list that begin with "D"
Public Function Filter(session As ICompletionSession, item As ICompletionItem) As Boolean Implements ICompletionFilter.Filter
If item.Text.StartsWith("D") Then
Return True
Else
Return False
End If
End Function
When I add a break point in the lines 'Return True' and 'Return False' these lines are called as expected but the filter doesn't have any effect. Can you explain what I might be doing wrong ?