public Antlr4IntellisenseController(ITextView textView, Antlr4IntellisenseControllerProvider provider, Antlr4BackgroundParser backgroundParser)
            : base(textView, provider)
        {
            BackgroundParser = backgroundParser;
            ClassificationTagAggregator = provider.AggregatorFactory.CreateTagAggregator<ClassificationTag>(textView.TextBuffer);

            var shell = Provider.GlobalServiceProvider.GetShell();
            var package = shell.LoadPackage<AntlrLanguagePackage>();
            _intellisenseOptions = package.IntellisenseOptions;
        }
Esempio n. 2
0
        public Antlr4IntellisenseController(ITextView textView, Antlr4IntellisenseControllerProvider provider, Antlr4BackgroundParser backgroundParser)
            : base(textView, provider)
        {
            BackgroundParser            = backgroundParser;
            ClassificationTagAggregator = provider.AggregatorFactory.CreateTagAggregator <ClassificationTag>(textView.TextBuffer);

            var shell   = Provider.GlobalServiceProvider.GetShell();
            var package = shell.LoadPackage <AntlrLanguagePackage>();

            _intellisenseOptions = package.IntellisenseOptions;
        }