コード例 #1
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;
 }
コード例 #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;
 }
コード例 #3
0
ファイル: SmartIndent.cs プロジェクト: Ollon/XmlParser
 public SmartIndent(ITextView textView, ParserService parserService)
 {
     this.textView      = textView;
     this.parserService = parserService;
 }
コード例 #4
0
ファイル: Classifier.cs プロジェクト: KirillOsenkov/XmlParser
 public Classifier(IClassificationType[] types, ParserService parserService)
     : base(parserService)
 {
     this.types = types;
 }
コード例 #5
0
 public SmartIndent(ITextView textView, ParserService parserService)
 {
     this.textView = textView;
     this.parserService = parserService;
 }
コード例 #6
0
 public Classifier(IClassificationType[] types, ParserService parserService)
     : base(parserService)
 {
     this.types = types;
 }