Checks if the CompletionItem text starts with the filter text.

Filtering:

  • Case-insensitive. Calls toLowerCase() on all text.
  • The CompletionItem text must start with the filter text.

Sorting:

  • A case-insensitive string comparison.

Constructor

new()

Methods

filter(item:CompletionItem):Bool

sort(item1:CompletionItem, item2:CompletionItem):Int

updateFilter(filterText:String):Void