void InsertItem(ICompletionItem item) { if (item == null) { throw new InvalidOperationException("ICompletionItem is null. Something is wrong with the hackish ItemClicked event."); } item.Insert(); }
private void InsertItem(ICompletionItem item, CompletionPopupView view) { item.Insert(); PopupActions.Hide(view); }