Ahmad45123 / AutoCompleteMenu-ScintillaNET

Adds a wrapper to AutoCompleteMenu for ScintillaNET and fixes several bugs.
GNU Lesser General Public License v3.0
41 stars 13 forks source link

Search on whole words in AutoCompleteMenu-ScintillaNET #29

Open Void-Spce opened 9 months ago

Void-Spce commented 9 months ago

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?

Ahmad45123 commented 8 months ago

Hello!

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

Void-Spce commented 8 months ago

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

Ahmad45123 commented 8 months ago

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.

Void-Spce commented 8 months ago

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.