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);
 }
예제 #2
0
 public IdentifierHighlighterProcess(IDaemonProcess process, ResolveHighlighterRegistrar registrar,
                                     IContextBoundSettingsStore settingsStore, DaemonProcessKind processKind, IShaderLabFile file,
                                     ConfigurableIdentifierHighlightingStageService identifierHighlightingStageService,
                                     bool internalMode)
     : base(process, settingsStore, file)
 {
     myProcessKind  = processKind;
     myInternalMode = internalMode;
     myIdentifierHighlightingEnabled = identifierHighlightingStageService.ShouldHighlightIdentifiers(settingsStore);
     myVisualElementHighlighter      = new VisualElementHighlighter(ShaderLabLanguage.Instance, settingsStore);
     myResolveProblemHighlighter     = new ResolveProblemHighlighter(registrar);
     myReferenceProvider             = ((IFileImpl)file).ReferenceProvider;
 }