I found a problem when mixing TemplateCompletion with other types.
The filtering logic uses getInputText ();
org.fife.ui.autocomplete.AbstractCompletionProvider.getCompletionsImpl (JTextComponent)
if (Util.startsWithIgnoreCase(c.getInputText(), text))
But sorting is done using the toString
org.fife.ui.autocomplete.AbstractCompletion.compareTo (Completion)
I found a problem when mixing TemplateCompletion with other types.
The filtering logic uses getInputText ();
org.fife.ui.autocomplete.AbstractCompletionProvider.getCompletionsImpl (JTextComponent)
if (Util.startsWithIgnoreCase(c.getInputText(), text))But sorting is done using the toString
org.fife.ui.autocomplete.AbstractCompletion.compareTo (Completion)