AutoCompleteMenu-ScintillaNET icon indicating copy to clipboard operation
AutoCompleteMenu-ScintillaNET copied to clipboard

Search on whole words in AutoCompleteMenu-ScintillaNET

Open ghost opened this issue 2 years ago • 4 comments

By default, AutoCompleteMenu-ScintillaNET searches on the first letter of the words in its list, but I want this search to be on all the letters of the given words, how should I do this? Do I have to change a certain property of it?

ghost avatar Jan 08 '24 07:01 ghost

Hello!

Unfortunately, that's currently unsupported! However, I may add it in the near future.

Ahmad45123 avatar Jan 22 '24 19:01 Ahmad45123

Can you tell me which Class I should inherit from so that I can do this?

Void-Spce avatar Jan 25 '24 16:01 Void-Spce

Simply inherit from AutoCompleteItem class. You can then override the Compare method. Look at https://github.com/Ahmad45123/AutoCompleteMenu-ScintillaNET/blob/master/AutocompleteMenu/AutocompleteItem.cs#L132

Let me know if this works.

Ahmad45123 avatar Jan 25 '24 16:01 Ahmad45123

Thanks, If I want to do this, do I need to download this library and use it as a library project? Because this AutocompleteItem class is used in the AutocompleteMenu class.

Void-Spce avatar Jan 25 '24 16:01 Void-Spce