You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess the control isn't actively maintained anymore, but in case someone will face this same issue in the future:
it isn't possible to drag drop the autocomplete component in VS2022, throws a "no required constructor found" exception, so we have to resort to manual creation, which is not hard though. I tested both NuGet and source directly.
and the actual bug why I am opening this: when the autocomplete value is inserted, the very last char of the document gets erased.
from what it looks, it kinda feels like this code shouldn't even be there, once commented you get the expected "cursor stays at the end of inserted text" behavior.
I guess the control isn't actively maintained anymore, but in case someone will face this same issue in the future:
it isn't possible to drag drop the autocomplete component in VS2022, throws a "no required constructor found" exception, so we have to resort to manual creation, which is not hard though. I tested both NuGet and source directly.
autocomplete sample seems to be outdated, sample suggests
autocomplete.SetAutocompleteItems(items);
while it should beautocomplete.Items.SetAutocompleteItems(items);
nowhttps://www.codeproject.com/Articles/365974/Autocomplete-Menu
and the actual bug why I am opening this:
when the autocomplete value is inserted, the very last char of the document gets erased.
from what it looks, it kinda feels like this code shouldn't even be there, once commented you get the expected "cursor stays at the end of inserted text" behavior.
it happens in this call:
FastColoredTextBox/FastColoredTextBox/AutocompleteMenu.cs
Line 619 in 5361a7b
particularly here:
FastColoredTextBox/FastColoredTextBox/AutocompleteItem.cs
Line 172 in 5361a7b
The text was updated successfully, but these errors were encountered: