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;
        }
示例#2
0
        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);
        }