AmandaInterface.FileEditorTab.UpdateAutocompleteIdentifiers C# (CSharp) Method

UpdateAutocompleteIdentifiers() public method

public UpdateAutocompleteIdentifiers ( ) : void
return void
        public void UpdateAutocompleteIdentifiers()
        {
            //of toch wel? :D, word per keydown opnieuw geparsed, zou niet langzaam moeten zijn omdat string compare snel is/kan zijn

            Amanda amandaObj = Amanda.GetInstance();
            amandaTagParser.Parse(textBox.Text);

            ICollection<string> tags = new List<string>();
            amandaTagParser.AmandaTags.ForEach(q => tags.Add(q.Name));

            ICollection<string> items = tags.Concat(amandaObj.GetIdentifiers()).ToList();//amandaTagParser.Concat(Identifiers).ToList();

            autocomplete.Items.SetAutocompleteItems(items);
        }