public AttributesItemProvider(AbstractCompletionItemProvider baseProvider)
		{
			if (baseProvider == null)
				throw new ArgumentNullException("baseProvider");
			this.baseProvider = baseProvider;
			this.RemoveAttributeSuffix = true;
		}
 public AttributesItemProvider(AbstractCompletionItemProvider baseProvider)
 {
     if (baseProvider == null)
     {
         throw new ArgumentNullException("baseProvider");
     }
     this.baseProvider          = baseProvider;
     this.RemoveAttributeSuffix = true;
 }
		protected virtual void ShowCodeCompletionWindow(AbstractCompletionItemProvider completionItemProvider, ITextEditor editor)
		{
			completionItemProvider.ShowCompletion(editor);
		}
		/// <summary>
		/// Overrides the base class method so a code completion window is
		/// not displayed but the fact that this method is called is
		/// recorded. 
		/// </summary>
		protected override void ShowCodeCompletionWindow(AbstractCompletionItemProvider completionItemProvider, ITextEditor textEditor)
		{
			TextEditorPassedToShowCompletionWindow = textEditor;
			IsCodeCompletionWindowDisplayed = true;
			CompletionItemProviderUsedWhenDisplayingCodeCompletionWindow = completionItemProvider;
		}
		public void CallBaseShowCodeCompletionWindow(AbstractCompletionItemProvider completionItemProvider, ITextEditor textEditor)
		{
			base.ShowCodeCompletionWindow(completionItemProvider, textEditor);
		}
		/// <summary>
		/// Overrides the completion data provider creation to make sure
		/// it is called at the correct time. 
		/// </summary>
		protected override AbstractCompletionItemProvider CreateKeywordCompletionItemProvider()
		{
			KeywordCompletionItemProviderCreated = base.CreateKeywordCompletionItemProvider();
			return KeywordCompletionItemProviderCreated;
		}