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; }
public SmartIndent(ITextView textView, ParserService parserService) { this.textView = textView; this.parserService = parserService; }
public Classifier(IClassificationType[] types, ParserService parserService) : base(parserService) { this.types = types; }