Example #1
0
        public void RemoveCompletionItem(CompletionWindowItem item)
        {
            if (completionItems.Contains(item))
                completionItems.Remove(item);

            if (completionWindow != null)
            {
                completionWindow.CompletionList.CompletionData.Remove(item);
            }
        }
Example #2
0
        public void AddCompletionItem(CompletionWindowItem item)
        {
            completionItems.Add(item);

            if (completionWindow != null)
            {
                completionWindow.CompletionList.CompletionData.Add(item);
            }
        }