public ClassifierProvider(IClassificationTypeRegistryService classificationTypeRegistryService, ParserService parserService)
 {
     types = new IClassificationType[]
     {
         classificationTypeRegistryService.GetClassificationType("text"),
         classificationTypeRegistryService.GetClassificationType(ClassificationTypeNames.XmlAttributeName),
         classificationTypeRegistryService.GetClassificationType(ClassificationTypeNames.XmlAttributeQuotes),
         classificationTypeRegistryService.GetClassificationType(ClassificationTypeNames.XmlAttributeValue),
         classificationTypeRegistryService.GetClassificationType(ClassificationTypeNames.XmlCDataSection),
         classificationTypeRegistryService.GetClassificationType(ClassificationTypeNames.XmlComment),
         classificationTypeRegistryService.GetClassificationType(ClassificationTypeNames.XmlDelimiter),
         classificationTypeRegistryService.GetClassificationType(ClassificationTypeNames.XmlEntityReference),
         classificationTypeRegistryService.GetClassificationType(ClassificationTypeNames.XmlName),
         classificationTypeRegistryService.GetClassificationType(ClassificationTypeNames.XmlProcessingInstruction),
         classificationTypeRegistryService.GetClassificationType(ClassificationTypeNames.XmlText),
     };
     this.parserService = parserService;
 }
Example #2
0
 public ClassifierProvider(IClassificationTypeRegistryService classificationTypeRegistryService, ParserService parserService)
 {
     types = new IClassificationType[]
     {
         classificationTypeRegistryService.GetClassificationType("text"),
         classificationTypeRegistryService.GetClassificationType(ClassificationTypeNames.XmlAttributeName),
         classificationTypeRegistryService.GetClassificationType(ClassificationTypeNames.XmlAttributeQuotes),
         classificationTypeRegistryService.GetClassificationType(ClassificationTypeNames.XmlAttributeValue),
         classificationTypeRegistryService.GetClassificationType(ClassificationTypeNames.XmlCDataSection),
         classificationTypeRegistryService.GetClassificationType(ClassificationTypeNames.XmlComment),
         classificationTypeRegistryService.GetClassificationType(ClassificationTypeNames.XmlDelimiter),
         classificationTypeRegistryService.GetClassificationType(ClassificationTypeNames.XmlEntityReference),
         classificationTypeRegistryService.GetClassificationType(ClassificationTypeNames.XmlName),
         classificationTypeRegistryService.GetClassificationType(ClassificationTypeNames.XmlProcessingInstruction),
         classificationTypeRegistryService.GetClassificationType(ClassificationTypeNames.XmlText),
     };
     this.parserService = parserService;
 }
Example #3
0
 public SmartIndent(ITextView textView, ParserService parserService)
 {
     this.textView      = textView;
     this.parserService = parserService;
 }
Example #4
0
 public Classifier(IClassificationType[] types, ParserService parserService)
     : base(parserService)
 {
     this.types = types;
 }
 public SmartIndent(ITextView textView, ParserService parserService)
 {
     this.textView = textView;
     this.parserService = parserService;
 }
Example #6
0
 public Classifier(IClassificationType[] types, ParserService parserService)
     : base(parserService)
 {
     this.types = types;
 }