public IIntellisenseController TryCreateIntellisenseController(ITextView textView, IList<ITextBuffer> subjectBuffers) { // Create the completion controller and add it to the view properties var completionController = new CompletionController(subjectBuffers, textView, this.CompletionBrokerMapService, this.ServiceProvider); textView.Properties.AddProperty(completionController.GetType(), completionController); return completionController; }
public IIntellisenseController TryCreateIntellisenseController(ITextView textView, IList <ITextBuffer> subjectBuffers) { // Create the completion controller and add it to the view properties var completionController = new CompletionController(subjectBuffers, textView, this.CompletionBrokerMapService, this.ServiceProvider); textView.Properties.AddProperty(completionController.GetType(), completionController); return(completionController); }