public IdentifierHighlighterProcess(IDaemonProcess process, ResolveHighlighterRegistrar registrar,
                                     IContextBoundSettingsStore settingsStore, DaemonProcessKind processKind, IShaderLabFile file,
                                     ConfigurableIdentifierHighlightingStageService identifierHighlightingStageService)
     : base(process, settingsStore, file)
 {
     myProcessKind = processKind;
     myIdentifierHighlightingEnabled = identifierHighlightingStageService.ShouldHighlightIdentifiers(settingsStore);
     myVisualElementHighlighter      = new VisualElementHighlighter(ShaderLabLanguage.Instance, settingsStore);
 }
Exemple #2
0
 public IdentifierHighlighterProcess(IDaemonProcess process, ResolveHighlighterRegistrar registrar,
                                     IContextBoundSettingsStore settingsStore, DaemonProcessKind processKind,
                                     IShaderLabFile file, bool internalMode)
     : base(process, file)
 {
     myProcessKind               = processKind;
     myInternalMode              = internalMode;
     myVisualElementHighlighter  = new VisualElementHighlighter(ShaderLabLanguage.Instance, settingsStore);
     myResolveProblemHighlighter = new ResolveProblemHighlighter(registrar);
     myReferenceProvider         = ((IFileImpl)file).ReferenceProvider;
 }