public TextStyleHighlighterManager([NotNull] Lifetime lifetime, [NotNull] IHighlighterCustomization highlighterCustomization,
                                    [NotNull] DTE dte, [NotNull] DefaultTextControlSchemeManager textControlSchemeManager)
 {
     _highlighterCustomization = highlighterCustomization;
     _dte = dte;
     textControlSchemeManager.ColorsChanged.Advise(lifetime, ResetVsAttributesCache);
 }
        public ClassUsageTextStyleProvider(Lifetime lifetime, IThreading threading, IHighlighterCustomization highlighterCustomization,
                                           DefaultTextControlSchemeManager textControlSchemeManager, HighlightingSettingsManager highlightingSettingsManager, 
                                           ISettingsStore settingsStore)
        {
            this.threading = threading;
            this.highlighterCustomization = highlighterCustomization;
            this.highlightingSettingsManager = highlightingSettingsManager;
            this.settingsStore = settingsStore.BindToContextLive(lifetime, ContextRange.ApplicationWide);

            textControlSchemeManager.ColorsChanged.Advise(lifetime, Refresh);
        }
 public TextStyleHighlighterManager(
     [NotNull] Lifetime lifetime,
     [NotNull] IHighlighterCustomization highlighterCustomization,
     [NotNull] DefaultTextControlSchemeManager textControlSchemeManager,
     [NotNull] Lazy <Optional <IClassificationFormatMapService> > lazyClassificationFormatMapService,
     [NotNull] Lazy <Optional <IClassificationTypeRegistryService> > lazyClassificationTypeRegistryService)
 {
     _highlighterCustomization              = highlighterCustomization;
     _lazyClassificationFormatMapService    = lazyClassificationFormatMapService;
     _lazyClassificationTypeRegistryService = lazyClassificationTypeRegistryService;
     textControlSchemeManager.ColorsChanged.Advise(lifetime, ResetVsAttributesCache);
 }