public SemanticTagger(HlslClassificationService classificationService, BackgroundParser backgroundParser) { _classificationService = classificationService; backgroundParser.SubscribeToThrottledSemanticModelAvailable(BackgroundParserSubscriptionDelay.Short, async x => await InvalidateTags(x.Snapshot, x.CancellationToken)); }
public SemanticTaggerVisitor(HlslClassificationService classificationService, ITextSnapshot snapshot, List<ITagSpan<IClassificationTag>> results, CancellationToken cancellationToken) { _classificationService = classificationService; _snapshot = snapshot; _results = results; _cancellationToken = cancellationToken; }
public SyntaxTaggerWorker(HlslClassificationService classificationService, List<ITagSpan<IClassificationTag>> results, ITextSnapshot snapshot, CancellationToken cancellationToken) { _classificationService = classificationService; _results = results; _snapshot = snapshot; _cancellationToken = cancellationToken; }
public SemanticTaggerVisitor(HlslClassificationService classificationService, ITextSnapshot snapshot, List <ITagSpan <IClassificationTag> > results, CancellationToken cancellationToken) { _classificationService = classificationService; _snapshot = snapshot; _results = results; _cancellationToken = cancellationToken; }
public SyntaxTaggerWorker(HlslClassificationService classificationService, List <ITagSpan <IClassificationTag> > results, ITextSnapshot snapshot, CancellationToken cancellationToken) { _classificationService = classificationService; _results = results; _snapshot = snapshot; _cancellationToken = cancellationToken; }
public BraceCompletionContext(ISmartIndentationService smartIndentationService, ITextBufferUndoManagerProvider undoManager, HlslClassificationService classificationService, IOptionsService optionsService) { _smartIndentationService = smartIndentationService; _undoManager = undoManager; _classificationService = classificationService; _optionsService = optionsService; }
public SyntaxTagger(HlslClassificationService classificationService, BackgroundParser backgroundParser) { _classificationService = classificationService; backgroundParser.SubscribeToThrottledSyntaxTreeAvailable(BackgroundParserSubscriptionDelay.NearImmediate, async x => await InvalidateTags(x.Snapshot, x.CancellationToken)); }
public SemanticTaggerProvider(HlslClassificationService classificationService, ClassificationColorManager classificationColorManager) { _classificationService = classificationService; _classificationColorManager = classificationColorManager; VSColorTheme.ThemeChanged += UpdateTheme; }
public QuickInfoSource( IClassificationFormatMapService classificationFormatMapService, HlslClassificationService classificationService, DispatcherGlyphService dispatcherGlyphService) { _classificationFormatMap = classificationFormatMapService.GetClassificationFormatMap("text"); _tooltipClassificationFormatMap = classificationFormatMapService.GetClassificationFormatMap("tooltip"); _classificationService = classificationService; _dispatcherGlyphService = dispatcherGlyphService; }
public SemanticTaggerProvider(HlslClassificationService classificationService, ClassificationColorManager classificationColorManager, ShellEventListener shellEventListener) { _classificationService = classificationService; _classificationColorManager = classificationColorManager; _shellEventListener = shellEventListener; _shellEventListener.ThemeChanged += UpdateTheme; }
public BraceCompletionContext( ISmartIndentationService smartIndentationService, ITextBufferUndoManagerProvider undoManager, HlslClassificationService classificationService, IOptionsService optionsService, VisualStudioSourceTextFactory sourceTextFactory) { _smartIndentationService = smartIndentationService; _undoManager = undoManager; _classificationService = classificationService; _optionsService = optionsService; _sourceTextFactory = sourceTextFactory; }
public SemanticTagger(HlslClassificationService classificationService, BackgroundParser backgroundParser) { _classificationService = classificationService; backgroundParser.RegisterSyntaxTreeHandler(BackgroundParserHandlerPriority.High, this); }